# there are two types of lists # returns new list sorted(list_name, reverse=True) # changes list in place list_name.sort(reverse=True)
Here is what the above code is Doing:
1. We create a list called list_name.
2. We print the list.
3. We sort the list in reverse order.
4. We print the list again.
5. We sort the list in place.
6. We print the list again.