Is it Pythonic to use bools as ints?
I’ll be the odd voice out (since all answers are decrying the use of the fact that False == 0 and True == 1, as the language guarantees) as I claim that the use of this fact to simplify your code is perfectly fine. Historically, logical true/false operations tended to simply use 0 for false … Read more