I have found the following using a Python REPL:
3 == 3 > 2
=> True
At first I thought it might be something related to operator precedence, however:
3 == (3 > 2)
=> False
(3 == 3) > 2
=> False
How does this work then? Is it simply returning the result of 3 == 3
and ignoring the > 2
part? Or does it 3 == 3 AND 3 > 2
? Or something else? I know very little about Python.