Python Set
Set
A set is a collection which is unordered, unchangeable, and unindexed.
In Python sets are written with curly brackets.
Note: Sets are unordered, so you cannot be sure in which order the items will appear.
A set is a collection which is unordered, unchangeable, and unindexed.
In Python sets are written with curly brackets.
Note: Sets are unordered, so you cannot be sure in which order the items will appear.
If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
sales@w3schools.com
If you want to report an error, or if you want to make a suggestion, send us an e-mail:
help@w3schools.com