Commit 6ab1271c by BellCodeEditor

save project

parent aa1a8943
......@@ -14,8 +14,8 @@ def ab():
finally:
print("-"*30)
return total #返回价格列表
result=ab()
print(result)
#result=ab()
#print(result)
......@@ -24,7 +24,7 @@ def sum(money):
for i in money:
cont+=i
return cont
print(sum(result))
#print(sum(result))
import func
fenshu=func.ab()
result = func.sum(fenshu)
print(result)
\ 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