OnlinePython

Looping Through Lists Exercise

Question 1 of 4

What does enumerate() provide when looping through a list?

for i, item in enumerate(['a', 'b', 'c']):
    print(i, item)