All these answers are saying True, and that's right, but many of them suggest if an integer is greater than zero it's True, and that's not quite right - in effect, a coercion of an integer to boolean is performing x != 0, so negative numbers also end up as True:
All these answers are saying
True
, and that's right, but many of them suggest if an integer is greater than zero it's True, and that's not quite right - in effect, a coercion of an integer to boolean is performingx != 0
, so negative numbers also end up as True: