In order to get the max value of the dictionary. You can do this:
>>> d = {'a':5,'b':10,'c':5}
>>> d.get(max(d, key=d.get))
10
Explanation:
max(d, key=d.get) => Gets the key with the maximum value where d is the dictionary
d.get => gets the value associated with that key
Hope this helps.