Description: Just another programmer on the Internet
freelancer (3191) arunmozhi (2) tecoholic (2)
recovering technology addict
Sorting is simplified in Python with sorted(). You can even sort with complex rules.
In situations where you have a list of objects and have to retrieve then in random order, dictionaries can act as lookup tables.