Advertisement
here2share

# turtle_loop12.py

Oct 30th, 2019
289
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. # turtle_loop12.py
  2.  
  3. import turtle
  4. turtle.delay(0)
  5.  
  6. t = [turtle.Turtle() for i in range(12)]
  7.  
  8. for i, j in enumerate(t):
  9.     j.right(i*30)
  10.     j.speed(0)
  11.  
  12. for i in range(360):
  13.     for j in t:
  14.         j.forward(2.4)
  15.         j.right(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement