1. 条件测试 比较:==,!=,>,<检查多个条件:and,or检查特定值是否在列表:in,not in布尔: True,False 2. if-elif-else if 条件: 操作语句 elif 条件: 操作语句 else: 操作语句 3. 确定列表不是空,if 列表名: