import turtle def gotoPoint(x, y): turtle.up() turtle.goto(x, y) turtle.down() def drawStar(x): turtle.begin_fill() for i in range(5): turtle.forward(x) turtle.right(144) turtle.end_fill() turtle.setup(576,384,0,0) turtle.color("yellow") turtle.bgcolor("red") turtle.fillcolor("yellow") turtle.hideturtle() gotoPoint(-249.6, 115.2) drawStar(86.4) for i in range(4): x=1 if i in[0,3]: x = 0 gotoPoint(-115.2 + x * 38.4, 153.6 - i * 38.4) turtle.left(15-i*15) drawStar(28.8) turtle.done()