Commit a6713ca8 by BellCodeEditor

save project

parent efedf378
Showing with 1 additions and 1 deletions
total = [] total = []
try: try:
while True: while True:
unit=int(input("请输入:")) unit=int(input("请输入价格:"))
total.append(unit) total.append(unit)
except: except:
print('输入错误,请重新输入一个数字') print('输入错误,请重新输入一个数字')
......
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