dict(enumerate(list)) pythn code example Example: python dict enumerate for i, (k, v) in enumerate(example_dict.items()): print(i, k, v)