Similar to lists:
- can use them for storing a collection of elements.
Unlike lists:
Elements in a set:
i) are nonduplicates
and ii) are not placed in any particular order
When to use sets:
- If application does not require order of the eleme...See more
nts -> use sets to store elements
- Due to Python’s implementations, it is is more efficient than using lists
Answer the Question