multiple comparisons can be made on the same line, evaluated in left-to-right order : Comparison Operators : Operator PYTHON TUTORIALS


PYTHON TUTORIALS » Operator » Comparison Operators »

 

multiple comparisons can be made on the same line, evaluated in left-to-right order


print 7           # same as and )
print == 3          # same as and == )
print != < 7



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo Operator
» Comparison Operators