The not equal to operator in python is code example
Example 1: python not equal to
1 != 2 # The 'not equal to' symbol is !=
Example 2: not equal to in python
>>> 'ABC' != 'ABC'
False
>>> 1 != 1
False
>>> {1: None, 2: None} != 10
True
>>> 1 != 1.0
False