摘要: 1.kyes() (1)取出字典的key (2)检查字典中是否存在键或值 2.values() (1)取出字典的value 3.items() (1)取出字典的key和value (2)多重赋值 4.类型转化 (1)通过ist(),生成列表 5.get()方法 (1)get()方法有两个参数:要取得 阅读全文
posted @ 2018-01-07 00:24 dingkailinux 阅读(389) 评论(0) 推荐(0)