Commit 6253f336 by BellCodeEditor

auto save

parent b3dcb277
Showing with 3 additions and 2 deletions
...@@ -4,8 +4,8 @@ pen = turtle.Pen() ...@@ -4,8 +4,8 @@ pen = turtle.Pen()
screen = turtle.Screen() screen = turtle.Screen()
screen.bgcolor("green") screen.bgcolor("green")
colors=["red","orange","yellow","blue"] colors=["red","orange","yellow","blue"]
for i in range(1,3600): for i in range(1,600):
pen.forward(i) pen.forward(i)
pen.pencolor(colors(i%4)) pen.pencolor(colors[i%4])
pen.right(91) pen.right(91)
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