Commit a5046a77 by BellCodeEditor

save project

parent 89983100
......@@ -15,9 +15,9 @@ def new_input():
return total
def sum_a(list_a):
sumnum=0
for i in a:
for i in list_a:
sumnum+=i
return sumnum
a=new_input()
b=sum_a(a)
print(b)
\ No newline at end of file
# a=new_input()
# b=sum_a(a)
# print(b)
\ No newline at end of file
import func
a=func.new_input()
b=func.sum_a(a)
print(b)
\ 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