0
In Python, is != the same as Not?
3 odpowiedzi
+ 14
!= means not equal to.
+ 4
Description from, Beginning Programming with Python® for Dummies, by John Paul Mueller:
Determines whether two values are not equal. Some older versions of Python allowed you to use the <> operator in place of the != operator. Using the <> operator results in an error in current versions of Python.
So yes, you're correct.
More references:D
--> http://stackoverflow.com/questions/2209755/python-operation-vs-is-not
--> https://www.programiz.com/python-programming/
+ 1
It mean Does Not Equal