Computer >> Computer tutorials >  >> Programming >> Python

Is there a “not equal” operator in Python?


In Python 2.x <> as well as != symbols are defined as 'not equal to' operators. In Python 3, <> operator is deprecated.