Given dict with list values, return key with longest list. Example: {'a':[1,2],'b':[1,2,3]} => 'b'
Implement this function:
def key_max_len(d: dict):
Write the function only — the arguments are read for you and the return value is printed automatically.
Arguments arrive as one Python literal per line, in this order: d.
Input
{'a': [1, 2], 'b': [1, 2, 3]}
Output
'b'