A set cannot be hashed. So when we try to create a set of sets we will get an "objects are unhashable" error (a TypeError).
# This example will not compile.
example = {1, 2, 3}
example2 = {example, {5, 6, 7}}
Traceback (most recent call last):
File
"C:\programs\file.py", line 6, in <module>
example2 = {example, {5, 6, 7}}
TypeError: 'set' objects are unhashable