Secondary expressions are acceptable in Python:
The comparison can be copied arbitrarily, for example, x < y <= zequivalently to x < y and y <= z, except that it yis evaluated only once (but in both cases the cases zare not evaluated at all when x < yit turns out False).
In fact, since andlazy, and the syntax is cleaner, they are preferable.
, . , . 0 < 0 == 0 return False Python?.