1/5
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
How to add an element
Set1.add(set2)
How to make a union
set1.union(set2)
returns a union
set1.union_update(set2)
updates set 1 to be the union
How to do intersection
set1.intersection(set2)
returns the intersection
set1.intersection_update(set2)
updates set 1 to the intersection
.pop()
Removes an element from the set
unless specified removes last element
figure out how to change specifications
How to find Difference and symmetric
.difference() and .symmetricdifference()
Also an update version
Sets
unordered
Unchangeable
no duplicate