In Python any non-zero integer value is true; zero is false.
a = 0 if a: print "Here" a = 2 if a: print "There"