Commit 5a5b15b0 by BellCodeEditor

save project

parent 48c73ee9
Showing with 4 additions and 1 deletions
......@@ -5,10 +5,12 @@
import turtle
pen = turtle.Pen()
# 请创造师在下面接着创
color=["red","blue","yellow","green"]
for i in range(0,300):
pen.color(color[i%4])
pen.forward(i)
i+=1
pen.right(91)
pen.right(90+i)
# 隐藏画笔,保存画布
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