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.

10th Jun 2019, 8:06 AM
Madina
Madina - avatar
3 Respuestas
+ 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
10th Jun 2019, 9:03 AM
Anna
Anna - avatar
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
10th Jun 2019, 11:52 AM
Seb TheS
Seb TheS - avatar