BuildlyBuildly
DashboardExercisesProfileHelp
Data Science/Module 1: Python Programming/Dictionaries3/3
Exercise·5 min·10 XP

Key With Highest Value

Write top_key(d) that returns the key whose value is the largest. If d is empty, return None. If there's a tie, returning any one of the tied keys is fine.

Previous
Merge Vote Counts
Next
Letter Frequency