Commit 83b6aa7c by BellCodeEditor

save project

parent cf31748c
...@@ -12,11 +12,11 @@ def a(): ...@@ -12,11 +12,11 @@ def a():
else: else:
total.append(unit2) total.append(unit2)
return total return total
b=a() #b=a()
def p(c): def p(c):
money=0 money=0
for i in c: for i in c:
money=money+i money=money+i
return money return money
u=p(b) #u=p(b)
print(u) #print(u)
\ No newline at end of file \ No newline at end of file
import func
a=func.a()
p=func.p(a)
print(p)
\ 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