y1 = [True, True, False, False] y2 = [False, True, True, False] y3 = y1 and y2 print(y3) >>> [False, True, True, False]
这里发生了什么?在操作中的第三项是False和True这个结果True?
False
True
python boolean-logic
boolean-logic ×1
python ×1