Commit 5fcf3c08 by BellCodeEditor

save project

parent dae5c64f
Showing with 4 additions and 4 deletions
......@@ -4,10 +4,10 @@
"""
import turtle
pen=turtle.Pen()
distance=1
for i in range(300):
pen.forward(distance)
pen.speed(0)
for i in range(1,300):
pen.forward(i)
pen.left(91)
distance=distance+1
# 隐藏画笔,保存画布
turtle.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