In Python, True or -1 > None
returns True
but True > None
and -1 > None
returns False
???
Why is this?
In Python, True or -1 > None
returns True
but True > None
and -1 > None
returns False
???
Why is this?
In Python, True or -1 > None
evaluates as True or (-1 > None)
, which is always True, regardless of the expression