Commit 13f58465 by BellCodeEditor

save project

parent 90cc948c
Showing with 12 additions and 4 deletions
......@@ -5,6 +5,15 @@ def new_input():
if unit== 'q':
break
else:
total.append(unit)
print(total)
new_input()
\ No newline at end of file
try:
money=int(money)
except:
priet("请重新输入")
total.append(money)
finally:
print("-"*30)
return total
resul=new_input()
print(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