Commit 2459c5ac by BellCodeEditor

save project

parent bd9fda08
Showing with 11 additions and 9 deletions
total = [] import turtle
while True:
unit= input("请输入:") pen=turtle.Pen()
if unit== 'q': distance=1
break for i in range(300):
else: pen.forward(distance)
total.append(unit) distance+=1
print(total) pen.right(91)
\ No newline at end of file pen.hideturtle()
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