DEV Community

Cover image for Identity Operators in python
Aswin Barath
Aswin Barath

Posted on • Updated on

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

Alt Text
Output:

True
False
True
Enter fullscreen mode Exit fullscreen mode

is not operator

Alt Text
Output:

True
False
True
Enter fullscreen mode Exit fullscreen mode

Best Resources

Who Am I?

I’m Aswin Barath, a Software Engineering Nerd who loves building Web Applications, now sharing my knowledge through Blogging during the busy time of my freelancing work life. Here’s the link to all of my socials categorized by platforms under one place: https://linktr.ee/AswinBarath

Thank you so much for reading my blog🙂.

Top comments (0)