method name use union set union(set explanation returns new set with all elements from both sets intersection set intersection(set returns new set with only the elements common to both sets difference set difference(set returns new set with all items from first set not in second issubset set issubset(set asks whether all elements of one set are in the other add set add(itemadds item to the set remove set remove(itemremoves item from the set pop set pop(removes an arbitrary element from the set clear set clear(removes all elements from the set table methods provided by sets in python my_set {false 'cat'your_set { , , my_set union(your_set{false 'cat' my_set your_set {false 'cat' my_set intersection(your_set{ my_set your_set { my_set difference(your_set{false 'cat'my_set your_set {false 'cat'{ , issubset(your_settrue { , <your_set true my_set add("house"my_set {false 'house''cat'my_set remove( my_set {false 'house''cat'my_set pop(false my_set { 'house''cat'my_set clear(my_set set( review of basic python