摘要: 记住三句话,全部搞定 and: 与运算,当所有条件都为True时返回True or: 或运算,当其中一个条件为True时返回True not: 非运算,当条件为True时返回False,条件为False时返回True 三者之间的优先级: 优先级:() > not > and > or 注:逻辑运算符 阅读全文