News for hackers. Stuff that matters.
Re:Literals in Programming Languages by ubernostrum on Thursday February 28, 2013 @04:20AM (#5297875)
In Python, bool is a subclass of int. The constants True and False have the values 1 and 0 respectively, and it's legal to do arithmetic with them :)

There are no comments on this comment yet.