a = 'a' print( a < 'b' and 'c') # and 同真取最后一个真----c print( a > 'b' and 'c') # and 有假取第一个假----False print( a > 'b' or a == 'c') #or 同假取最后一个假---False print( a > 'b' or 'c') # or 有真取第一个真---c #and,同真取最后一个真,有假取第一个假。 #or,同假取最后一个假,有真取第一个真。 not,取反。