rafaelmaeuer
12/5/2019 - 6:52 PM

How to loop with indexes in Python

colors = ["red", "green", "blue", "purple"]
for i in range(len(colors)):
    print(colors[i])