Syntax error Is there a “not equal” operator in 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.

Updated on: 2019-07-30T22:30:22+05:30

414 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements