I am having trouble understanding how the following code finds the key with maximum value in a dictionary. I know first parameter i.e my_dict.keys()
returns a list of keys. But I am not getting about 2nd parameter.. Help me out
key_max = max(my_dict.keys(), key=(lambda k: my_dict[k]))