1 from turtle import * 2 3 def mygoto(x,y): 4 up() 5 goto(x,y) 6 down() 7 8 def draw(r): 9 begin_fill() 10 for i in range(5): 11 forward(r) 12 right(144) 13 end_fill() 14 15 setup(800,500) 16 bgcolor('red') 17 color('yellow') 18 speed(5) 19 fillcolor('yellow') 20 hideturtle() 21 22 mygoto(-280,100) 23 draw(100) 24 mygoto(-200,180) 25 draw(35) 26 mygoto(-120,130) 27 draw(35) 28 mygoto(-120,70) 29 draw(35) 30 mygoto(-200,0) 31 draw(35) 32 33 done()