Commit 8b95c943 by BellCodeEditor

auto save

parent c2875398
Showing with 18 additions and 0 deletions
import turtle
# 创建画笔
pen = turtle.Pen()
# 创建变量
distence = 1
# for循环300次
for i in range(300):
# 向前移动 distence
pen.forward(distence)
# 旋转角度
pen.right(91)
distence+=1 #自增
# 隐藏海龟
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