We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Definition of set in python is basically same as in math.
A set is an unordered collection with no duplicate elements. Basic uses include membership testing and eliminating duplicate entries. Set objects also support mathematical operations like union, intersection, difference, and symmetric difference.
Pairs
You are viewing a single comment's thread. Return to all comments →
Definition of set in python is basically same as in math.
Set is implemented by hash table in python.