Commit 826dd14a by BellCodeEditor

save project

parent cabfc10d
Showing with 3 additions and 3 deletions
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
pen.speed(100) pen.speed(100)
distance=1 i=1
for i in range(1500): for i in range(1500):
pen.fd(distance) pen.fd(i)
pen.right(91) pen.right(91)
distance +=1 i +=1
# 隐藏画笔,保存画布 # 隐藏画笔,保存画布
pen.hideturtle() pen.hideturtle()
turtle.done() 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