Files

9 lines
721 B
Markdown
Raw Permalink Normal View History

2024-08-10 00:23:59 +01:00
# 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.
2024-10-08 16:21:52 +05:30
Visit the following resources to learn more:
- [@official@Python Official Documentation on Sets](https://docs.python.org/3/tutorial/datastructures.html#sets)
2024-10-08 16:21:52 +05:30
- [@article@An In-Depth Guide to Working with Python Sets](https://learnpython.com/blog/python-sets/)
2025-11-24 11:19:59 +00:00
- [@video@Python Sets tutorial for Beginners](https://www.youtube.com/watch?v=t9j8lCUGZXo)