Commit afe3ec9b by BellCodeEditor

save project

parent adb0aff3
Showing with 9 additions and 1 deletions
...@@ -13,5 +13,13 @@ def new_inprt(): ...@@ -13,5 +13,13 @@ def new_inprt():
total.append(unit) total.append(unit)
return total return total
def sum(money):
count=0
for i in money:
count=count+i
return count
res = new_inprt() res = new_inprt()
print(res)
pay=sum(res)
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