Commit e9fb04c3 by BellCodeEditor

save project

parent f4ad2fe8
Showing with 7 additions and 7 deletions
...@@ -6,14 +6,14 @@ def func(): ...@@ -6,14 +6,14 @@ def func():
break break
else: else:
total.append(int(unit)) total.append(int(unit))
print(total)
return total return total
def sum(money): def sum(money):
s=0 count=0
for i in money: for i in money:
s=s+i count=count+1
return s return count
z=func() a=func()
a=sum(z) b=sum(a)
print(x) print(b)
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