Iterating Tuples Exercise
Question 1 of 5
What will this code output?
colors = ('red', 'green', 'blue')
for i, color in enumerate(colors):
print(f'{i}: {color}')1: red 2: green 3: blue
0: red 1: green 2: blue
red: 0 green: 1 blue: 2
This will cause an error