摘要:
#coding=utf-8嵌套字典 dic = {'name': ['wanglishuaiu','fanzao','hehe'], 'py9': { 'time': "123123", 'learn_money': 19800, 'addr': 'CBD', }, 'age': '56'} #增加 dic['name'].append('ritian') dic[ 阅读全文
posted @ 2018-08-27 13:21
王学长
阅读(842)
评论(0)
推荐(2)
摘要:
特别注意: get ,, pop 兼有返回值,可在查询之时,判断是否存在此键. 阅读全文
posted @ 2018-08-27 11:24
王学长
阅读(30676)
评论(0)
推荐(0)

浙公网安备 33010602011771号