Commit b513a0cc by BellCodeEditor

save project

parent 756535f7
Showing with 2 additions and 2 deletions
...@@ -9,9 +9,9 @@ colors=["green","red","orange","yellow"] ...@@ -9,9 +9,9 @@ colors=["green","red","orange","yellow"]
pen = turtle.Pen() pen = turtle.Pen()
pen.speed(3000) pen.speed(3000)
for i in range(1,3000): for i in range(1,3000):
pen.pencolor(colors) pen.pencolor(colors[i%4])
pen.forward(i) pen.forward(i)
pen.right()(91) pen.right(91)
pen.hideturtle() pen.hideturtle()
pen.done() pen.done()
......
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