how to compare two integers in python using and or code example Example: compare int in Python 1 == 2 #OR 1 is 2