Back to Developer Roadmap

Sets

src/data/roadmaps/python/content/[email protected]

4.0721 B
Original Source

Sets

Python Set is an unordered collection of data types that is iterable, mutable, and has no duplicate elements. The order of elements in a set is undefined though it may consist of various elements. The major advantage of using a set, as opposed to a list, is that it has a highly optimized method for checking whether a specific element is contained in the set.

Visit the following resources to learn more: