Commit 46c79f32 by BellCodeEditor

save project

parent c7d0720d
Showing with 6 additions and 6 deletions
......@@ -6,15 +6,15 @@ def new_input():
break
else:
try:
money = int(money)
money = int(money)
except:
print("请输入一个数字")
else:
total.append(money)
total.append(unit)
finally:
print("-"*30)
return total
return total
result = new_input()
print(result)
\ No newline at end of file
resturn = new_input()
print(return)
\ No newline at end of file
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