Consider the Python commands:
>>> print 3%2 == 0
False
>>> print 3%2 == 1
True
The output is completely right. But I read somewhere that:
Any nonzero number is interpreted as true.
Why does print 2 and 4 return 4, rather than True?
>>> print 2 and 4
4