Commit c902e647 by BellCodeEditor

save project

parent 3dbccfaa
Showing with 1 additions and 4 deletions
...@@ -11,11 +11,8 @@ def cd_input(): ...@@ -11,11 +11,8 @@ def cd_input():
print("请重新输入一个数字") print("请重新输入一个数字")
else: else:
total.append(unit) total.append(unit)
finally: finally:
print("-"*30)
return total return total
result = cd_input()
print(result)
def sum(money): def sum(money):
count = 0 count = 0
for i in money: for i in money:
......
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