solutions

Largest key

Write a function that receives a dictionary with only String keys and returns the longest key in the dictionary. Example:

longest_key({'hello': 'World', 'abc': 123})  # hello
longest_key({})  # None

Test Cases

tests

[]