Re:Why does `True == False is False` evaluate to False in Py...
by Scarblac on Saturday May 02, 2020 @05:38AM
(#23050581)
But it doesn't compare a number to a boolean. It tests whether b is between a and c, in Python.
Python comes second for source code niceness, allowing you to compare numbers to booleans is common and shouldn't be.