Mega Code Archive

 
Categories / Python Tutorial / Operator
 

Logically combine the Boolean results

print 2 < 4 and 2 == 4 print 2 > 4 or 2 < 4 print not 6.2 <= 6 print 3 < 4 < 5