匿名函数lambda

fun = lambda x:x+1
res = fun(10)
print(res)
这不是匿名函数的主要用法,仅用来说明

原文地址:https://www.cnblogs.com/wang-jie-devops/p/9818661.html