会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
逝水无痕L
博客园
首页
新随笔
联系
订阅
管理
2020年5月4日
字典的常用操作
摘要: 字典的常用操作:dictionary={'num1':'a','num2':'b','num3':'c'}print(dictionary ['num2' ])#字典,Python中字典的键之间是无序的,即没有下标,通过键来取值#bdictionary ['num2']='B'print(dicti
阅读全文
posted @ 2020-05-04 03:10 逝水无痕L
阅读(263)
评论(0)
推荐(0)
公告