Commit 392b949c by BellCodeEditor

save project

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