Commit ffd2043c by BellCodeEditor

save project

parent f5c8c496
Showing with 8 additions and 5 deletions
......@@ -2,13 +2,13 @@
import turtle
d=1
pen=turtle.Pen()
colors=["green","rad","black"]
for i in range(1,300):
colors=["green","rald","black"]
pen.pencolor([1%3])
pen.forward(d)
pen.forward(i)
pen.pencolor(colors[i%3])
pen.right(91)
d+=1
# 隐藏画笔,保存画布
pen.hideturtle()
......
colors=["green","rad","black"]
pen.pencolor(colors[1%3])
\ 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