from turtle import *
from random import choice
# items = ['red', 'blue', 'green']
for i in range(5):
    color('red')
    forward(50)
    color('blue')
    forward(50)
    color('green')
    forward(50)
mainloop()