Question #236

Which one checks identity?

is checks identity and == checks equality. Equality is basically just asking if the contents of two objects are the same. Identity refers to the object you are referring to. (blog.pythonlibrary.org/2017/02/28/python-101-equality-vs-...)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: