Identity Operators in python
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
Output:
True
False
True
is not operator
Output:
True
False
True