Commit 8371ef10 by BellCodeEditor

save project

parent c5597553
Showing with 3 additions and 3 deletions
......@@ -2,16 +2,16 @@ def price():
total = []
while True:
try:
unit= input("请输入:")
money= input("请输入:")
if unit== 'q':
break
else:
try:
unit=int(unit)
money=int(unit)
except:
print("ersgstrgtgsgrstgsretgstr")
else:
total.append(unit)
total.append(money)
print("-"*30)
return total
result = new_input()
......
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