Commit 159fb748 by BellCodeEditor

save project

parent 98c3ba8f
Showing with 7 additions and 0 deletions
......@@ -13,4 +13,10 @@ for i in range(3000):
pen.right(91)
# 隐藏画笔,保存画布
pen.hideturtle()
pen=turtle.Pen()
colors=["red","orange","yellow","green"]
for i in range(1,300):
pen.pencolor(colors[1%4])
pen.forward(i)
pen.right(9)
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