Commit b77648e1 by BellCodeEditor

save project

parent f445af5d
Showing with 5 additions and 2 deletions
......@@ -6,10 +6,13 @@ import turtle
pen = turtle.Pen()
pen.speed(1000)
# 请创造师在下面接着创作
colors=["blue","red","yellow","white"]
s = turtle.Screen()
distance=1
for i in range(1000):
pen.forward(distance)
pen.pencolor(colors[i%4])
s.bgcolor(colors[i%4])
pen.forward(i)
distance+=1
pen.right(91)
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