Commit 9d368865 by BellCodeEditor

save project

parent c491555b
Showing with 3 additions and 3 deletions
total = [] total = []
while True: while True:
unit= input("请输入(q退出):") money= input("请输入(q退出):")
if unit== 'q': if money== 'q':
break break
try: try:
unit = int(unit) money = int(money)
except expression as identifier: except expression as identifier:
pass pass
else: else:
......
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