Commit 641faf3b by BellCodeEditor

save project

parent b508ab6f
Showing with 8 additions and 2 deletions
......@@ -11,5 +11,11 @@ def new_input():
else:
total.append(unit)
return total
def sum1(m):
c=0
for i in m:
c=c+i
return c
a=new_input()
print(a)
\ No newline at end of file
w=sum1(a)
print(w)
\ 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