Commit 4fd96818 by BellCodeEditor

save project

parent 82b78432
Showing with 5 additions and 4 deletions
...@@ -6,10 +6,12 @@ def new_iput(): ...@@ -6,10 +6,12 @@ def new_iput():
break break
else: else:
try: try:
unit=int(unit) money=int(money)
except: except:
print("请重新输入一个数字") print("请重新输入一个数字")
total.append(unit) total.append(unit)
print("_"*30) print("_"*30)
print(total) return total
new_iput() return=new_iput()
\ No newline at end of file print(result)
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