👋 Hello! I'm Alphonsio the robot. Ask me a question, I'll try to answer.
python not equal operator
In Python, the syntax for the not equal operator is !=
. Here is a simple example:
>>> a=4
>>> b=6
>>> if (a!=b):
>>> print ('a not equal b')
a not equal b