Difference between `is` and `==`?
The ==
operator tests for equality
The is
keyword tests for object identity; whether we are talking about the same object. Note that multiple variables may refer to the same object.
The is
operator compares the identity while the ==
operator compares the value. Essentially x is y
is the same as id(x) == id(y)