3 ms·
But it doesn't compare a number to a boolean. It tests whether b is between a and c, in Python.
by Scarblac 7y ago
But it doesn't compare a number to a boolean. It tests whether b is between a and c, in Python.
- mFixman 7y agoWhat I wrote wasn't very understandable. In most languages, like C++, a < b < c ends up comparing a boolean to an integer. This should be a type error, but isn't.