Commit ba0cb910 by BellCodeEditor

save project

parent 7b9235a2
Showing with 8 additions and 1 deletions
......@@ -12,5 +12,12 @@ def func():
else:
total.append(unit)
return total
def sum(money):
count=0
for i in money:
count=count+i
return count
s=func()
print(s)
p=sum(s)
print(p)
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