Commit 3f20a216 by BellCodeEditor

save project

parent 962d0f92
Showing with 5 additions and 4 deletions
......@@ -3,12 +3,13 @@ import turtle
pen=turtle.Pen()
pen.speed(100)
colors=["red","orange","yellow",""]
b=turtle.Screen()
b.bgcolor("sky blue")
colors=["red","orange","yellow","green"]
for i in range(1,700):
pen.forward()
pen.forward(i)
pen.pencolor(colors[i%4])
pen.right(91)
pen.hideturtle()
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