Python字典 字典用键值对保存数据。 student = { "name": "Alice", "age": 18 } 特点: 通过 key 访问 value 适合保存有名称的数据 常用方法有 keys()、values()、items() 相关:Python数据类型与容器、Python集合