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 .
Sur cette page du site, vous pouvez voir la vidéo en ligne Python interview question #46: is vs. == durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Python and Pandas with Reuven Lerner 27 avril 2025, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 221 fois et il a aimé 6 téléspectateurs. Bon visionnage!