Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import turtle as t
- t.bgcolor("black")
- t.speed(0)
- for x in range(200):
- if x%5 == 1:
- t.color("red")
- if x%5 == 2:
- t.color("yellow")
- if x%5 == 3:
- t.color("green")
- if x%5 == 4:
- t.color("blue")
- if x%5 == 0:
- t.color("purple")
- t.forward(x*1.2)
- t.left(71)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement