dic4 = {:,:,:,:} dic6=.fromkeys([,,],) dic={:,:,:} ((dic.items())) dic5={: , : } i dic5: (i,dic5[i]) i dic5: (i,dic5[i])
菜鸟的Python之路--基础知识(字典的基本操作)
原创
©著作权归作者所有:来自51CTO博客作者五星12138的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Python基础知识-5
介绍python的各种应用实例
python -
Python基础知识-6
python关于数据库的相关使用例子
python mysql 并发 -
菜鸟的Python之路--基础知识(列表的基本操作)
Python列表基础操作
列表 python -
菜鸟的Python之路--基础知识
for循环,while循环,格式化输出
Python Python -
python小白之路(基础知识一)
Python小白自学之路
Python 基础知识 自学 -
python基础知识——基本语法
在python基础知识这个系列中
python 下划线 缩进