DEV Community

Cover image for Identity Operators in python
Aswin Barath
Aswin Barath

Posted on • Edited on

1 2 1 1 1

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🙂.

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs