Question #269

A set can contain mutable elements.

As sets uses hashes to detect whether two elements are identical, all set elements must be hashable, and as such, cannot be mutable. (realpython.com/python-sets)


Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵