匿名函数lambda

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

posted on 2018-10-19 20:40  低调的蛋疼疼  阅读(172)  评论(0编辑  收藏  举报