逻辑运算符

运算符 逻辑表达式 描述 实例
and x and y 都真为真
or x or y 任一真为真
not not x 假为真