Commit 46d11e81 by BellCodeEditor

save project

parent 5ee82821
Showing with 2 additions and 9 deletions
...@@ -6,13 +6,5 @@ a=["black","red","blue","purple"] ...@@ -6,13 +6,5 @@ a=["black","red","blue","purple"]
for i in range(1,600): for i in range(1,600):
turtle.forward(i) turtle.forward(i)
turtle.right(91) turtle.right(91)
turtle.color(b) turtle.color(a[i%4])
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() 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