I know we use enumerate for iterating a list but I tried it in a dictionary and it didn\'t give an error.
enumerate
CODE:
enumm = {0: 1, 1: 2, 2:
Just thought I'd add, if you'd like to enumerate over the index, key, and values of a dictionary, your for loop should look like this:
for index, (key, value) in enumerate(your_dict.items()): print(index, key, value)