会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
walk_the_talk
CnBlogs
Home
New Post
Contact
Admin
Subscription
2020年3月15日
python packing & unpacking 组包&解包
packing 组包,函数使用 【*】 (for tuples)【元组】, & 【**】(for dict) 【 字典】来接受可迭代的参数 unpacking 解包 ,函数内部定义多个参数(可以是具体的,也可以用【具体】+【*args】 OR 【**kwargs】)来对应传入的可迭代数据 eg: I
Read More
posted @ 2020-03-15 22:11 walk_the_talk
Views(452)
Comments(0)
Diggs(0)
公告