x != y
This returns True if x and y are not equal and otherwise returns False.
True
x
y
False
12 != 1 # True 12 != '12' # True '12' != '12' # False