In [1]: a = 3424
In [2]: b = 3424
In [3]: a is b
Out[3]: False
In [4]: a == b
Out[4]: True
You can use "!= " and "is not" for not equal operation in Python.
The python != ( not equal operator ) return True,
if the values of the two Python operands given on each side of the operator
are not equal, otherwise false