Commit 36330b23 by BellCodeEditor

auto save

parent ed94e2ca
Showing with 4 additions and 3 deletions
total = []
def new_price(a):
while True:
unit= int(input("请输入:"))
unit= input("请输入:")
if unit== 'q':
break
print("退出")
else:
try:
a.append(unit)
unit=int(unit)
except:
print("程序错误")
break
# print(total)
new_price(total)
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