会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
tiansz
博客园
首页
新随笔
联系
订阅
管理
2022年7月1日
18、lambda 表达式
摘要: 将函数作为第一类对象 什么是第一类对象 将对象赋值给变量 number = 123 string = "hello" list = [1, 2, 3] dict = {'name': 'tom', 'age': 12} 将对象作为参数传递 print(123) print("hello") prin
阅读全文
posted @ 2022-07-01 21:24 tiansz
阅读(28)
评论(0)
推荐(0)
编辑