How do I count the highest key in a python dictionary? (very pythonic way?) EDIT: make a list
- by alex
d = {'apple':9,'oranges':3,'grapes':22}
How do I return the largest key/value?
Edit: How do I make a list that has this sorted by largest to lowest value?