Published in


The Python “is” and “is not” Operators

And why they nothing like == and !=

Photo by Alex Chumak on Unsplash

For anyone following me, I apologize that’s it’s been a while since I’ve posted, but I’ve been pretty busy teaching four classes, keeping up with my full-time job, and moving across the country. Excuses aside, here’s a little Python tidbit that can be easily lost in the syntax: the difference between ==, !=, is, and is not. They are not…




Everything connected with Tech & Code. Follow to join our 900K+ monthly readers

Recommended from Medium

Decoupling services using SQS as a Lambda Trigger

Go’s Extended Concurrency: Semaphores (Part 1)

Pair Programming — Find Out Why Another Human Can Be the Secret to Better Code

Part-2 Build and run the container

A Day in Release Engineering at Grofers

Here’s how one person can make you an expert at any topic

Please don’t suppose Kotlin developers know Java

3 Self-Improvements I’ve Made At Microverse

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Frank Neugebauer

Frank Neugebauer

I manage Frankly Artificial Intelligence, LLC. I also work at Google (all my views are strictly my own). I enjoy teaching, cycling, running, music, and art.

More from Medium

Learn Python - Classes

Python Tuples Named and Unnamed

Python Christmas

#7 Fun Python — Play with date and time