Fundamentals18 / 30
Up next

Loop with an index

colors = ["red", "green", "blue"]
for i, color in enumerate(colors):
    print(i, color)
What you're solving

enumerate pairs index with item