i = Truej = False print i and jprint i or jprint not i i = 1.5j = 0 print (i and j)print (i or j)print bool(i or j)print not not(i or j)print not i
Standard input is empty
False True False 0 1.5 True True False
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!