Python Identity Operators. Operators Description Example Is Returns True If Both Same A Is B Is Not Return True If Both Are Not Same A Is Not B Ex. X = 22 Y = 25 print(X is Y) print(X == Y) print(X is not Y) print(X != Y) OUTPUT False False True True