Commit b52a25fe by BellCodeEditor

save project

parent d628251d
import func
a=func.new_input()
b=func.sum(a)
print(b)
\ No newline at end of file
......@@ -14,5 +14,10 @@ def new_input():
return total
a=new_input()
print(a)
\ No newline at end of file
def sum(money):
count=0
for i in money:
count+=i
return count
b=sum(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