Commit 97236704 by BellCodeEditor

save project

parent 4722ea9a
Showing with 7 additions and 1 deletions
......@@ -13,6 +13,12 @@ def new_sb():
print('_'*30)
total.append(unit)
return(total)
def sum(money):
sum = 0
for i in money:
sum = i+sum
return sum
totalsb = new_sb()
print(totalsb)
pay = sum(totalsb)
print(pay)
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