для петли с индексным Python3
colors = ["red", "green", "blue", "purple"]
for i in range(len(colors)):
print(colors[i])
QuietHumility
colors = ["red", "green", "blue", "purple"]
for i in range(len(colors)):
print(colors[i])