Commit 2aed214c by BellCodeEditor

auto save

parent c1fa4f1b
Showing with 10 additions and 2 deletions
......@@ -3,9 +3,16 @@ import random
turtle.hideturtle()
turtle.speed(0)
a=["black","red","blue","purple"]
b=random.choice(a)
for i in range(600):
for i in range(1,600):
turtle.forward(i)
turtle.right(91)
turtle.color(b)
if i%4==0:
b=a.append(0)
if i%4==1:
b=a.append(1)
if i%4==2:
b=a.append(2)
if i%4==3:
b=a.append(3)
turtle.done()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment