Advertisement
jabela

Turtle_flower

Mar 15th, 2017
1,074
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. import turtle
  2.  
  3. for i in range(12):
  4.  
  5.     heading = turtle.heading()
  6.     turtle.circle(50, 60)
  7.     turtle.left(120)
  8.     turtle.circle(50, 60)
  9.     turtle.setheading(heading)
  10.     turtle.left(360 / 12)
  11.  
  12. turtle.done()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement