Puzzle 8: Sorted? Reversed?

Let’s solve a puzzle that highlights Python’s reversed and sorted functions.

We'll cover the following

Guess the output

Try to guess the output of the code given below:

Get hands-on with 1200+ tech skills courses.