Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Square Spyral.py by Ari Kleiman
- import turtle
- t=turtle.Pen()
- turtle.bgcolor("pink")
- for x in range(1000):
- colors = ["black", "blue", "purple", "grey"]
- t.pencolor (colors[x%4])
- t.speed(100)
- t.forward(x)
- t.left(96)
Add Comment
Please, Sign In to add comment