Commit 392b949c by BellCodeEditor

save project

parent c2e98105
Showing with 7 additions and 4 deletions
result=0
def new_input():
total = []
while True:
......@@ -15,6 +15,9 @@ def new_input():
finally:
print("-"*30)
return total
for i in new_input() :
result+=i
print(result)
def annd(a):
result=0
for i in a :
result+=i
return result
print(annd(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