Question: what is the difference between equality (==) and identity (is) operator?
Answer: The is operator compares the identity of two objects while the == operator compares the values of two objects. ... The == operator is used when the values of two operands are equal, then the condition becomes true.