a_dictionary = {"a": 1, "b": 2, "c": 3}  max_key = max(a_dictionary, key=a_dictionary.get) get key with max value   print(max_key)

Read more of this post