You're in dicey territory here. Firstly, when you're using the dict() constructor, you're creating a dict and not a set, so choosing to label the result as "set" is misleading. Secondly, choosing "set" as a variable is a poor choice as it's a built-in name in python and by using it you're overriding that behavior. Beware of doing things like this!