Commit 148d7724 by BellCodeEditor

save project

parent 51978283
Showing with 15 additions and 0 deletions
...@@ -15,3 +15,18 @@ def new_input(): ...@@ -15,3 +15,18 @@ def new_input():
print(total) print(total)
result=new_input() result=new_input()
print(result) print(result)
def sum(money):
count=0
for i in money:
count=count+1
return count
del sum(money):
for i in money:
count = count+i
return count
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