Computer Studies‎ > ‎Python‎ > ‎References‎ > ‎

Comparison Operators

OperationMeaning
<strictly less than
<=less than or equal
>strictly greater than
>=greater than or equal
==equal
!=not equal
Note: != can also be written <>, but this is an obsolete usage kept for backwards compatibility only. New code should always use !=.
isobject identity
is notnegated object identity
(1)
Comments