News

You can also create a set with the set() built-in, which takes any iterable:. my_set = set([1,2,3,4]) Set members can contain any hashable type — basically, any object in Python that can be ...