Commit 54f4b60b by BellCodeEditor

save project

parent cc87706e
Showing with 1 additions and 1 deletions
...@@ -2,8 +2,8 @@ import turtle ...@@ -2,8 +2,8 @@ import turtle
pen = turtle.Pen() pen = turtle.Pen()
color=["red","orange","yellow","green"] color=["red","orange","yellow","green"]
for i in range(1,1500): for i in range(1,1500):
pen.pencolor(colors[i%4])
pen.speed(200) pen.speed(200)
pen.pencolor(colors[i%4])
pen.forward(i) pen.forward(i)
pen.right(100) pen.right(100)
pen.hideturtle() pen.hideturtle()
......
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