When is equality in Python the same as identity?
== operator checks for equality, meaning it checks whether two objects represent the same data:
This is a premium screencast available only to active Python Morsels subscribers or users with a redemption code that provides screencast access.
You can find free screencasts on the screencasts page.
Need to fill-in gaps in your Python skills? I send regular emails designed to do just that.