Commit ac3d4033 by BellCodeEditor

save project

parent 6004fb79
...@@ -12,11 +12,11 @@ def w(): ...@@ -12,11 +12,11 @@ def w():
else: else:
total.append(unit) total.append(unit)
return total return total
def sun(money): def n(money):
count = 0 count = 0
for i in money: for i in money:
count = count + i count = count + i
return count return count
a = w() #a = w()
b = sun(a) #b = sun(a)
print(b) #print(b)
\ No newline at end of file \ No newline at end of file
import func
z = func.w()
r = func.n(z)
print(r)
\ 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