Commit 413a1bcb by BellCodeEditor

save project

parent bba71615
Showing with 6 additions and 5 deletions
......@@ -12,9 +12,10 @@ def new_input():
else:
total.append(unit)
return total
a = new_input()
sum = 0
for i in a:
sum+= i
print(sum)
def a(s):
sum = 0
for i in s:
sum+= i
return sum
print(a(new_input()))
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