test equality in python code example Example: python test for equality 0 == 0 #True 1 == 0 #False 0 = 0 1 = 0 #Error