timber101

Turtle_Basics_Part_5-Spiral

Mar 20th, 2022 (edited)
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. # Python program to draw
  2. # Spiral  Helix Pattern
  3. # using Turtle Programming
  4.  
  5. import turtle
  6. loadWindow = turtle.Screen()
  7. #geoff = turtle.Turtle()
  8. turtle.speed(200)
  9.  
  10. for i in range(100):
  11.     turtle.circle(5*i)
  12.     turtle.circle(-5*i)
  13.     turtle.left(i)
  14.  
  15. turtle.exitonclick()
Add Comment
Please, Sign In to add comment