在 Python 中,我2>3 == False给出了False. 但我很期待True。如果我使用括号 ie(2>3) == False那么我得到True. 这背后的理论是什么?
2>3 == False
False
True
(2>3) == False
python boolean-expression python-3.x
boolean-expression ×1
python ×1
python-3.x ×1