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?
Copyright © 2021 Jogjafile Inc.
In Python,
True or -1 > Noneevaluates asTrue or (-1 > None), which is always True, regardless of the expression