Not Equal !=
The not equal to symbol will compare the left side to the right side. If the object on the left is not equal to the object on right then Python will return True and if they are equal to each other then Python will return False
Not Equal != Examples
#Not Equal != Examples
>>> 5 != 4
True
>>> 5 != 5
False
If you have any questions about not equal != leave a comment below.
Not Equal !=
No comments:
Post a Comment