会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Your browser does not support the Canvas element.
混元天尊
博客园
首页
新随笔
联系
订阅
管理
2018年7月20日
python day-15 匿名函数 sorted ()函数 filter()函数 map()函数 递归 二分法
摘要: 一、匿名函数 匿名函数的结构:变量 = lamda 参数: 返回值 a = lamda x : x*x # x为参数, : 后边的为函数体 print(a(x)) def fn(n) return pow(n,2) a = fn print(a._ _name_ _) 查看函数名 二、storted
阅读全文
posted @ 2018-07-20 15:53 一根小菜
阅读(269)
评论(0)
推荐(0)
公告
Your browser does not support the Canvas element.