Question #237

Which one checks equality?

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:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: