import turtle import random bob = turtle.Turtle() colours = ["cyan", "yellow", "white", "blue", "green", "red", "magenta", "chocolate", "indigo", "lime"] turtle.Screen().bgcolor("black") c = 0 for i in range(11): for i in range(2): bob.forward(100) bob.right(60) bob.forward(100) bob.right(120) bob.right(36) bob.color(colours[c]) c = c+1 if c == len(colours): c = 0