Commit 1416eb1c by BellCodeEditor

save project

parent d73eed48
Showing with 4 additions and 4 deletions
def new_input(): def new_input():
turtle = [] turtle = []
while True: while True:
price = input("请输入价格:") price = input("请输入价格:")
if price == 'q': if price == 'q':
break break
else: else:
turtle.append(price) turtle.append(price)
print(turtle) print(turtle)
\ No newline at end of file \ 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