Commit ef90aee6 by BellCodeEditor

save project

parent 1d29b176
Showing with 9 additions and 4 deletions
...@@ -13,6 +13,11 @@ def new_input(): ...@@ -13,6 +13,11 @@ def new_input():
else: else:
total.append(unit) total.append(unit)
return total return total
print(new_input()) a=new_input
def sum(total):
count=0
\ No newline at end of file for i in total:
count+=i
return count
a=new_input()
print(sum(a))
\ 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