摘要: 1 # 字典的创建 2 # 方式1.创建一个空字典 3 dic = {} 4 print(dic) 5 print(type(dic)) 6 7 # 方式2.赋值创建 8 dic = {'name': 'miaoge', 'age': 18} 9 print(dic) 10 print(type(d 阅读全文
posted @ 2020-07-14 11:09 I_code_rookie 阅读(511) 评论(0) 推荐(0) 编辑