Commit e5d72067 by BellCodeEditor

save project

parent d397deac
...@@ -14,5 +14,12 @@ def new_input(): ...@@ -14,5 +14,12 @@ def new_input():
total.append(unit) total.append(unit)
return total return total
a=new_input() def sum(money):
print(a) c=0
\ No newline at end of file for i in money:
c=c+i
return c
#a=new_input()
#abc=sum(a)
#print(abc)
\ No newline at end of file
import func
d=func.new_input()
j=func.sum(d)
print(j)
\ 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