Commit 155e6743 by BellCodeEditor

auto save

parent b690be5d
Showing with 4 additions and 1 deletions
...@@ -5,11 +5,14 @@ ...@@ -5,11 +5,14 @@
import turtle import turtle
pen = turtle.Pen() pen = turtle.Pen()
# 请创造师在下面接着创作 # 创建一个变量长度
distance=1 distance=1
# 重复执行300
for i in range(300): for i in range(300):
pen.forward(distance) pen.forward(distance)
# 变量自加 distance = distance+1
distance+=1 distance+=1
# 画笔右转91°
pen.right(91) pen.right(91)
# 隐藏画笔,保存画布 # 隐藏画笔,保存画布
pen.hideturtle() pen.hideturtle()
......
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