随笔分类 -  疑问

摘要:如下代码中如何理解:传入的实际参数,替换def中的x还是n? def _not_divisible(n): return lambda x: x % n > 0 def _odd_iter(): n = 1 while True: n = n + 2 yield ndef _not_divisibl 阅读全文
posted @ 2018-07-05 22:59 地瓜来了 阅读(761) 评论(0) 推荐(0)