Commit acf89e35 by BellCodeEditor

save project

parent f68f456e
Showing with 2 additions and 1 deletions
...@@ -5,7 +5,7 @@ p.speed(20) ...@@ -5,7 +5,7 @@ p.speed(20)
c=["red","blue","yellow","orange"] c=["red","blue","yellow","orange"]
for i in range(1,300): for i in range(1,300):
p.forward(i) p.forward(i)
p.pencolor(c[c%4]) p.pencolor(c[i%4])
p.right(91) p.right(91)
p.hideturtle() p.hideturtle()
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