comparing a variable to an integer python code example Example: compare int in Python 1 == 2 #OR 1 is 2