Commit ae57de61 by BellCodeEditor

save project

parent 99f46249
......@@ -12,8 +12,11 @@ def new_input():
else:
total.append(unit)
return total
result=new_input()
print(result)
count=0
for i in result:
def sum(t):
count=0
for i in t:
count=count+i
return count
import func
d=func.new_input()
c=new_input(d)
\ No newline at end of file
c=func.sum(d)
print(d)
print(c)
\ 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