I want to convert a dictionary into two lists. One list should contain all keys, and the other should have all values.
E.g.
t= {'a': 1, 'b': 2, 'c': 3, 'd': 4, 'e': 5}
to
[1, 2, 3, 4, 5] and
['a', 'b', 'c', 'd', 'e']
Is there any Python function for this operation?