Commit ef90aee6 by BellCodeEditor

save project

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