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)The length of the list
Only the index of each element
Only the value of each element
Both the index and value of each element