Commit f01daf82 by BellCodeEditor

save project

parent 0fa91bb9
Showing with 8 additions and 0 deletions
...@@ -14,3 +14,10 @@ def new_input(): ...@@ -14,3 +14,10 @@ def new_input():
return total return total
happy=new_input() happy=new_input()
print(happy) print(happy)
def sum(chick):
count=0
for i in chick:
count=count+i
return count
sad=sum(happy)
print(sad)
\ No newline at end of file
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