Commit 8c19d489 by BellCodeEditor

save project

parent e19ab331
Showing with 3 additions and 2 deletions
...@@ -2,7 +2,8 @@ import turtle ...@@ -2,7 +2,8 @@ import turtle
colors=["green","rad","orange","yellow"] colors=["green","rad","orange","yellow"]
pen = turtle.pen() pen = turtle.pen()
for i in range(1,300): for i in range(1,300):
pen.pencolors(colors[i%1])
pen.forward(i) pen.forward(i)
pen.right(91) pen.right(91)
pen.hideturtle() pen.hideturtle()
turtle.done turtle.done()
\ No newline at end of file \ 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