Python-10 字典dict
摘要:
#1 创建 dict1={'欢欢':'i love','小高高':'you'} dict2={1:'one',2:'two',3:'three'} dict3={} #2 访问元素 print('欢欢:',dict1['欢欢']) 欢欢: i love print(dict2[1]) one pri 阅读全文
posted @ 2016-10-24 22:47 huan2368935760 阅读(140) 评论(0) 推荐(0) 编辑