Set set is a sequence of unordered, non-repeating elements
The basic function is to test the membership and remove duplicate elements.
Use the brace {} or set () function to create a collection, note: Creating an empty collection must be set () instead of {}, because {} is used to create a new dictionary.
Add (): Increase the collection element
Copy (): Shallow copy
Clear (): Empty collection
Difference ():
Difference_update (): Deletes all elements in the current set that are contained in CSET
Discard (): remove element
Intersection (): Take intersection to create a new collection
Intersection_update (): Take intersection to update the original set set
Isdisjoint (): Determines no intersection, returns True, returns false
Issubset (): Determine if it is a subset
Issuperset (): Determines whether the parent set
Python3 set set and data conversion functions