Skip to main content


Python:

>>> a, b, c = 1, 2, 3
>>> a < c > b
True
>>> 

Why is Python always different? Why can't a < c > b be like (a < c) > b (and give a type error) like in normal languages? Why does it have to be (a < c) and (c > b)?

Also:

>>> True > False
True
>>> True > False == 0
True
>>>