摘要: 什么是字典 内置的数据结构,以键值对的方式存储数据,是一个无序的可变序列,用{ }表示。 key不可以重复,value可以重复 scores = {"张三": 100, "李四": 98, "王五": 65} print(scores) print(type(scores)) #### {'张三': 阅读全文
posted @ 2021-01-31 16:03 sxhyyq 阅读(53) 评论(0) 推荐(0) 编辑