import turtle def mygoto(x,y,z): turtle.up() turtle.goto(x,y) turtle.setheading(z) turtle.down() def wjx(x): turtle.begin_fill() for i in range(5): turtle.forward(x) turtle.right(144) turtle.end_fill() turtle.setup(600,400,0,0) turtle.color("green") turtle.bgcolor("black") turtle.fillcolor("green") mygoto(-250,75,0) wjx(120) mygoto(-100,150,305) wjx(40) mygoto(-50,100,30) wjx(40) mygoto(-50,25,5) wjx(40) mygoto(-100,-25,300) wjx(40) turtle.done()