Commit ae57de61 by BellCodeEditor

save project

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