As an alternative, you could also return the key/value pairs of the dictionary and reuse them at a later time:
a, b = range(5), range(4, -1, -1)
OUT = dict(zip(a, b) ).items()
As an alternative, you could also return the key/value pairs of the dictionary and reuse them at a later time:
a, b = range(5), range(4, -1, -1)
OUT = dict(zip(a, b) ).items()