Advertisement
otorp2

blk turtle

Dec 29th, 2019
1,114
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import turtle
  2. bob = turtle.Turtle()
  3. wn = turtle.Screen()
  4. bob.color("white")
  5. bob.speed(0)
  6. wn.bgcolor("black")
  7. x=1
  8. while x < 10000000:
  9.     bob.forward(90)
  10.     bob.left(89)
  11.     bob.forward(1+x*2)
  12.     x = x+.5
  13.  
  14. turtle.done()
Advertisement
RAW Paste Data Copied
Advertisement