If I want to initialize an empty set, I can use set(). But when I initialize a set with some values, it returns an error. How can I initialize a set with some values?
>>> a=set(2)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'int' object is not iterable