Commit f01daf82 by BellCodeEditor

save project

parent 0fa91bb9
Showing with 9 additions and 2 deletions
...@@ -13,4 +13,11 @@ def new_input(): ...@@ -13,4 +13,11 @@ def new_input():
total.append(unit) total.append(unit)
return total return total
happy=new_input() happy=new_input()
print(happy) print(happy)
\ No newline at end of file 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