Commit dd92dca4 by BellCodeEditor

save project

parent 0a0dfa89
Showing with 5 additions and 6 deletions
......@@ -3,11 +3,9 @@ import turtle
#初始化变量
pen=turtle.Pen()
pen.speed(500)
#创建画笔
distance=1
for i in range(300):
pen.forward(distance)
pen.right(91)
distance+=1
for i in range(1,300):
pen.forward(i)
pen.right(91)
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