In Python I want to find the maximum value out of dictionary which has the duplicates, for example :
my_dict = {1: 0, 12: 2, 36: 2, 24: 2, 33: 2, 4: 1}
and the maximum value is 2
.
And I want to find the maximum key of the maximum value which is 36:2
in this example.