Commit 75055f6c by BellCodeEditor

save project

parent 392db33f
Showing with 5 additions and 4 deletions
...@@ -11,11 +11,12 @@ screen.bgcolor("light pink") ...@@ -11,11 +11,12 @@ screen.bgcolor("light pink")
pen.speed(0) pen.speed(0)
# 请创造师在下面接着创作 # 请创造师在下面接着创作
t=1 a=["red","blue","yellow","green"]
for i in range(2000): for i in range(1,2000):
pen.fd(t) pen.pencolor(a[i%4])
pen.fd(i)
pen.right(91) pen.right(91)
t+=1
# 隐藏画笔,保存画布 # 隐藏画笔,保存画布
pen.hideturtle() 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