Chapter 10: Sets
Sets are collections of unique items.
Example
| Python | |
|---|---|
This set will contain {1, 2, 3, 4} because sets do not allow duplicate values.
Sets are collections of unique items.
| Python | |
|---|---|
This set will contain {1, 2, 3, 4} because sets do not allow duplicate values.