Fork me on GitHub
摘要: # python 函数的链式调用 def funcA(a): def funcB(b): for a_each in a: x = funcB(a_each) return x return funcB print(funcA(3)(5)) # 等价于 func = funcA(3) print(func(5)) #... 阅读全文
posted @ 2019-06-11 15:52 stardsd 阅读(2782) 评论(0) 推荐(0) 编辑