Commit 192ad007 by BellCodeEditor

save project

parent aeccfe83
Showing with 4 additions and 6 deletions
......@@ -6,16 +6,15 @@ import turtle
pen = turtle.Pen()
pen.speed(100)
# 请创造师在下面接着创作
color=["red","yellow","green","light blue"]
color=["red","yellow","green","orange"]
t=0
# 请创造师在下面接着创作
for i in range(1,300):
pen.forward(i)
pen.pencolor(color[t])
pen.pencolor(color[t%4])
pen.right(91)
t=t+1
if t>3:
t=t-4
# 隐藏画笔,保存画布
pen.hideturtle()
turtle.done()
\ No newline at end of file
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