find all keys with the same value in a dictionary

max_value = max(letters.values())
[key for key, val in letters.items() if val == max_value]

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top