Commit 05780313 by BellCodeEditor

save project

parent 555fd33c
Showing with 8 additions and 7 deletions
......@@ -13,9 +13,11 @@ def new_input():
total.append(unit)
print("-"*30)
return total
a=new_input()
print(a)
c=0
for i in a:
c=c+i
print(c)
\ No newline at end of file
def sum(m):
c=0
for i in m:
c=c+i
return c
print(sum)
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