Mar-09-2021, 06:38 PM
Hi guys! :)
expected result:
dict1 = {'c':3, 'a':5, 'f':7, 'e':4}Was wandering how to sort this dictionary by highest value first using lambda function?
expected result:
dict2 = {'f':7, 'a':5, 'e':4, 'c':3}Appreciate the help !