Sets Flashcards
Adds an element from the set.
Add
Removes all elements from the sets
Clear
Returns a copy of the set
Copy
Returns a set containing the difference between two or more sets.
Difference
Removes the item in this set that are also included in another, specified set
Difference update
Removes the specified item
Discard
Returns a set, that is the intersection of two other sets
Intersection
Removes the items in this set that are not present in other, specified sets.
Intersection update
Returns whether two sets have a intersection or not
Isdisjoint
Returns whether another set contains another set or not
Issubset
Returns whether this set contains another set or not
Issuperset
Removes an element from the set
Pop
Removes an specified element from the set
Remove
It is an unordered, unchangeable and indexed collection.
Set
Returns a set with the symmetric differences of two sets
Symmetric difference