Commit 0154472d by BellCodeEditor

save project

parent 50001b74
Showing with 6 additions and 3 deletions
......@@ -5,12 +5,15 @@
import turtle
# 请创造师在下面接着创作
pen=turtle.Pen()
for i in range(1,300):
screen=turtle.Screen()
screen.bgcolor("white")
colors=["red","orange","green","yellow"]
for i in range(1,1000):
pen.color(colors[i%4])
pen.forward(i)
pen.right(91)
i+=1
pen.hideturtle
pen.hideturtle()
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