0
what it means
Python Comparison Another comparison operator, the not equal operator (!=), evaluates to True if the items being compared aren't equal, and False if they are.
3 Respostas
+ 3
It's the opposite / negation of the == operator. If a == b is true, a != b is false and vice versa.
5 == 5 # True
5 != 5 # False
48 == 2 # False
48 != 2 # True
0
!= is in words "is not equal to"
4 != 2➡4 is not equal to 2➡True
8 != 8➡8 is not equal to 8➡False