Commit 8d12fb3d by BellCodeEditor

save project

parent 95195951
Showing with 4 additions and 13 deletions
...@@ -8,20 +8,10 @@ pen = turtle.Pen() ...@@ -8,20 +8,10 @@ pen = turtle.Pen()
# 请创造师在下面接着创作 # 请创造师在下面接着创作
distance=1 distance=1
pen.speed(0) pen.speed(0)
for i in range(300): for i in range(0,300,5):
pen.forward(distance) pen.forward(i)
distance+=1 distance+=1
pen.right(256) pen.right(242)
# 隐藏画笔,保存画布
pen.hideturtle()
pen1 = turtle.Pen()
# 请创造师在下面接着创作
distance=1
pen1.speed(10)
for i in range(300):
pen1.forward(distance)
distance+=1
pen1.right(256)
# 隐藏画笔,保存画布 # 隐藏画笔,保存画布
pen.hideturtle() pen.hideturtle()
turtle.done() turtle.done()
\ No newline at end of file
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