Commit 1d42bf96 by BellCodeEditor

save project

parent e46c6c5a
Showing with 3 additions and 1 deletions
......@@ -3,9 +3,11 @@ pen=turtle.pen()
# distance=1
screen=turtle.Screen()
screen.bgcolor("orange")
colors=["yellow","red","green","pink"]
for i in range(300):
pen.pencolor(colors[i%4])
pen.forward(i)
pen.right(91)
# distance+=1
pen.hideturtle()
turtle.done
turtle.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