Commit ce3c9a4b by BellCodeEditor

save project

parent 49527367
Showing with 4 additions and 10 deletions
......@@ -13,15 +13,8 @@ def new_input ():
print("输入整数")
else:
print("-"*30)
total.append(int(unit))
print(total)
def money(total):
doubt=0
for i in total:
doubt=doubt+i
return doubt
print(money(new_input()))
total.append(unit)
print(total)
new_input()
\ 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