Learn
Code Challenge: Dictionaries
Largest Value

max_key()

Instructions

1.

Write a function named max_key that takes a dictionary named my_dictionary as a parameter. The function should return the key associated with the largest value in the dictionary.

Folder Icon

Sign up to start coding

Already have an account?