if x != 0:
1!=0
##This is an examle of a "does not equal" statement##
if a != b:
pass
if not a == b:
pass
var1 = 5
var2 = 6
print(var1 != var2) # "!=" means "not equal to"
-------------------------------------------------------------------------------
True
>>> 'ABC' != 'ABC'
False
>>> 1 != 1
False
>>> {1: None, 2: None} != 10
True
>>> 1 != 1.0
False
1 != 2 # The 'not equal to' symbol is !=
# != means is not equal to
if 1 != 2:
print('Phew math still works!')