Pythin comparison operators
Ace your homework & exams now with Quizwiz!
>=
If the value of the left operand is greater than or equal to the value of right operand, then condition becomes true
<=
If the value of the left operand is less than or equal of the value of right operand, then condition becomes true.
<
If the value of the left operand is less than the value of right operand, then condition becomes true
>
If the values of the left operand is greater than the value of the right operand, then condition becomes true
==
If the values of two operands are equal, then the condition becomes true
!=
If values of two operands are not equal, then condition becomes true