Commit c95955a0 by BellCodeEditor

save project

parent 8f9f8978
Showing with 2 additions and 0 deletions
...@@ -3,8 +3,10 @@ import turtle ...@@ -3,8 +3,10 @@ import turtle
pen = turtle.Pen() pen = turtle.Pen()
# 请创造师在下面接着创作 # 请创造师在下面接着创作
distance=1 distance=1
color=["red","green","blue","yellow"]
# for i in range(300): # for i in range(300):
while True: while True:
pen.pencolor(color[distance%4])
pen.forward(distance) pen.forward(distance)
distance+=1 distance+=1
pen.right(89) pen.right(89)
......
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