{ "export": [ "builtin_class.json" ], "keywords": [], "children": [ { "列表:list": { "keywords": [], "children": [ { "函数list": { "keywords": [], "children": [], "node_id": "python-5-83" } }, { "基本的列表操作": { "keywords": [], "children": [ { "遍历整个列表": { "keywords": [], "children": [ { "深入研究循环": { "keywords": [], "children": [], "node_id": "python-7-0" } }, { "在for循环中执行更多操作": { "keywords": [], "children": [], "node_id": "python-7-1" } }, { "在for循环结束后执行一些操作": { "keywords": [], "children": [], "node_id": "python-7-2" } } ], "node_id": "python-6-21" } }, { "避免缩进错误": { "keywords": [], "children": [ { "忘记缩进": { "keywords": [], "children": [], "node_id": "python-7-3" } }, { "忘记缩进额外的代码行": { "keywords": [], "children": [], "node_id": "python-7-4" } }, { "不必要的缩进": { "keywords": [], "children": [], "node_id": "python-7-5" } }, { "循环后不必要的缩进": { "keywords": [], "children": [], "node_id": "python-7-6" } }, { "遗漏了冒号": { "keywords": [], "children": [], "node_id": "python-7-7" } } ], "node_id": "python-6-22" } }, { "创建数值列表": { "keywords": [], "children": [ { "使用range创建数字列表": { "keywords": [], "children": [], "node_id": "python-7-8" } }, { "对数字列表执行简单的统计计算": { "keywords": [], "children": [], "node_id": "python-7-9" } }, { "列表解析": { "keywords": [], "children": [], "node_id": "python-7-10" } } ], "node_id": "python-6-23" } }, { "设置代码格式": { "keywords": [], "children": [ { "格式设置指南": { "keywords": [], "children": [], "node_id": "python-7-11" } }, { "行长": { "keywords": [], "children": [], "node_id": "python-7-12" } }, { "空行": { "keywords": [], "children": [], "node_id": "python-7-13" } }, { "其他格式设置指南": { "keywords": [], "children": [], "node_id": "python-7-14" } } ], "node_id": "python-6-24" } } ], "node_id": "python-5-84" } }, { "列表方法": { "keywords": [], "children": [], "node_id": "python-5-85" } }, { "列表数据类型": { "keywords": [], "children": [], "node_id": "python-5-86" } }, { "增强的赋值操作": { "keywords": [], "children": [], "node_id": "python-5-87" } }, { "序列数据类型": { "keywords": [], "children": [], "node_id": "python-5-88" } }, { "引用": { "keywords": [], "children": [], "node_id": "python-5-89" } }, { "访问列表元素": { "keywords": [], "children": [], "node_id": "python-5-90" } }, { "索引从0而不是1开始": { "keywords": [], "children": [], "node_id": "python-5-91" } }, { "使用列表中的各个值": { "keywords": [], "children": [], "node_id": "python-5-92" } }, { "遍历切片": { "keywords": [], "children": [], "node_id": "python-5-93" } }, { "复制列表": { "keywords": [], "children": [], "node_id": "python-5-94" } }, { "列表的创建和删除": { "keywords": [], "children": [], "node_id": "python-5-95" } }, { "对列表进行统计计算": { "keywords": [], "children": [], "node_id": "python-5-96" } }, { "对列表进行排序": { "keywords": [], "children": [], "node_id": "python-5-97" } } ], "node_id": "python-4-137" } }, { "字典:dict": { "keywords": [], "children": [ { "访问字典中的值": { "keywords": [], "children": [], "node_id": "python-5-98" } }, { "添加键值对": { "keywords": [], "children": [], "node_id": "python-5-99" } }, { "先创建一个空字典": { "keywords": [], "children": [], "node_id": "python-5-100" } }, { "修改字典中的值": { "keywords": [], "children": [], "node_id": "python-5-101" } }, { "删除键值对": { "keywords": [], "children": [], "node_id": "python-5-102" } }, { "由类似对象组成的字典": { "keywords": [], "children": [], "node_id": "python-5-103" } }, { "使用get来访问值": { "keywords": [], "children": [], "node_id": "python-5-104" } }, { "遍历字典": { "keywords": [], "children": [ { "遍历所有键值对": { "keywords": [], "children": [], "node_id": "python-6-25" } }, { "遍历字典中的所有键": { "keywords": [], "children": [], "node_id": "python-6-26" } }, { "按特定顺序遍历字典中的所有键": { "keywords": [], "children": [], "node_id": "python-6-27" } }, { "遍历字典中的所有值": { "keywords": [], "children": [], "node_id": "python-6-28" } } ], "node_id": "python-5-105" } }, { "访问字典": { "keywords": [], "children": [], "node_id": "python-5-106" } }, { "字典推导式": { "keywords": [], "children": [], "node_id": "python-5-107" } } ], "node_id": "python-4-138" } }, { "元组:tuple": { "keywords": [], "children": [ { "定义元组": { "keywords": [], "children": [], "node_id": "python-5-108" } }, { "遍历元组中的所有值": { "keywords": [], "children": [], "node_id": "python-5-109" } }, { "修改元组变量": { "keywords": [], "children": [], "node_id": "python-5-110" } }, { "访问元组元素": { "keywords": [], "children": [], "node_id": "python-5-111" } }, { "修改元组": { "keywords": [], "children": [], "node_id": "python-5-112" } }, { "元组推导式": { "keywords": [], "children": [], "node_id": "python-5-113" } } ], "node_id": "python-4-139" } }, { "集合:set": { "keywords": [], "children": [ { "创建集合": { "keywords": [], "children": [], "node_id": "python-5-114" } }, { "集合的交集、并集和差集运算": { "keywords": [], "children": [], "node_id": "python-5-115" } } ], "node_id": "python-4-140" } }, { "整型:int": { "keywords": [], "children": [], "node_id": "python-4-141" } }, { "字符串:str": { "keywords": [], "children": [], "node_id": "python-4-142" } } ], "node_id": "python-3-15" }