Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # sorting in dictionary
- Sorted(mydict.items(), key=lambda x: x[1], reverse=True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement