Python > Sets > Flashcards
A collection of unique elements, what is this?
A set
How do you create a set?
{1,2,3}
Curly brackets w/ no colon just elements
Will a set return repeated elements?
No
How would you add an element to this set?
a = {1,2,3,4}
a.add()