Answers for "obtener el mayor valor de un diccionario python"

-1

obtener el mayor valor de un diccionario python

dic = {'key1':20, 'key2':35, 'key3': 44}
max_key = max(dic, key=dic.get)
print(max_key)
Posted by: Guest on August-25-2021

Code answers related to "obtener el mayor valor de un diccionario python"

Python Answers by Framework

Browse Popular Code Answers by Language