Commit ee304b8b by BellCodeEditor

save project

parent 765c8b0d
Showing with 8 additions and 1 deletions
...@@ -15,8 +15,15 @@ def xxx(): ...@@ -15,8 +15,15 @@ def xxx():
total.append(unit) total.append(unit)
print("-"*30) print("-"*30)
return total return total
def sum(money):
count = 0
for i in money:
count = count + i
return count
x=xxx() x=xxx()
print(x) pay=sum(x)
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