Python interview question #46: is vs. ==

Опубликовано: 29 Июль 2026
на канале: Python and Pandas with Reuven Lerner
221
6

You can use both == and "is" to compare objects in Python. But they don't do the same thing. Can you explain what they do, and when you should use each one?

In this video, I explain the difference, not just giving you general rules but describing the underlying principles so that you can answer questions at a Python job interview.

To download the Jupyter notebooks I used in this course, go to https://AcePythonInterviews.com .