热门标签
更多>
搜索结果
查询Tags标签: testFun,共有 2条记录-
python问题
文章目录 一、python问题1.匿名函数变量定义引用问题 总结一、python问题 1.匿名函数变量定义引用问题 下面的输出结果全是18 def testFun():temp = [lambda x : i*x for i in range(10)]return tempfor everyLambda in testFun():print(everyLambda(2))解: 因为python中…
2021/9/26 12:10:53 人评论 次浏览 -
python问题
文章目录 一、python问题1.匿名函数变量定义引用问题 总结一、python问题 1.匿名函数变量定义引用问题 下面的输出结果全是18 def testFun():temp = [lambda x : i*x for i in range(10)]return tempfor everyLambda in testFun():print(everyLambda(2))解: 因为python中…
2021/9/26 12:10:53 人评论 次浏览