Commit 23ff7a15 by BellCodeEditor

save project

parent 766286c0
Showing with 3 additions and 5 deletions
...@@ -7,9 +7,7 @@ def new_input(): ...@@ -7,9 +7,7 @@ def new_input():
try: try:
price=int(price) price=int(price)
except: except:
print("请重新输入价格") print("请重新输入价格")
else: else:
turtle.append(price) turtle.append(price)
else: new_input()
turtle.append(price) \ No newline at end of file
print(turtle)
\ 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