python——逻辑操作符 2019-06-29 本文已影响0人 ELLENXX and x and y 当x,y都为真时x and y才为真 or x or y 当x或y有一个为真时,x or y就为真 not not x not x 是x的取反