Published on

Identity Operators in python

Authors

Identity operators are used to checking whether the objects are the same or not.

Fact: In python, all data types are implemented as an object.

is operator

Alt Text Output:

True
False
True

is not operator

Alt Text Output:

True
False
True

Code along and have fun ;)