how to print alphabetical order using dictionary python code example
Example 1: how to reverse array in python
>>> L = [0,10,20,40]
>>> L[::-1]
[40, 20, 10, 0]
Example 2: sort list in python
List_name.sort()
This will sort the given list in ascending order.