import turtle def mygoto(x,y): turtle.up() turtle.goto(x,y) turtle.down() def drawwjx(x): turtle.begin_fill() for i in range(5): turtle.forward(x) turtle.right(144) turtle.end_fill() turtle.color("red") turtle.speed(10) mygoto(-300,200) turtle.begin_fill() for i in range(2): turtle.forward(576) turtle.right(90) turtle.forward(384) turtle.right(90) turtle.end_fill() turtle.color("yellow") mygoto(-262,123) drawwjx(110) for i in range(4): x=1 if i in [0,3]: x=0 mygoto(-120+x*30, 160-i*41) turtle.left(15-i*15) drawwjx(30) turtle.hideturtle() turtle.done()