Commit 636105f8 by BellCodeEditor

save project

parent 20555ab1
Showing with 9 additions and 0 deletions
def new_input(): def new_input():
total = [] total = []
while True: while True:
...@@ -12,5 +13,13 @@ def new_input(): ...@@ -12,5 +13,13 @@ def new_input():
else: else:
total.append(int(unit)) total.append(int(unit))
return total return total
def bf(money):
sum=0
for i in money:
sum=sum+i
return sum
a=bf(result)
result = new_input() result = new_input()
a=bf(result)
print(result) print(result)
print(a)
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