python comparing variable with integers code example Example: compare int in Python 1 == 2 #OR 1 is 2