Standard Type Boolean Operators : Boolean Operators : Operator PYTHON TUTORIALS


PYTHON TUTORIALS » Operator » Boolean Operators »

 

Standard Type Boolean Operators


x, y = 3.1415926536, -1024
print x < 5.0
print not (x < 5.0)
print (x < 5.0or (y > 2.718281828)
print (x < 5.0and (y > 2.718281828)
print not (x is y)



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo Operator
» Boolean Operators