Input | A list of elements. |
Output | A set containing the list of elements. |
Input | A set and an element. |
Output | A new set containing the element. |
Input | A set and an element. |
Output | A new set without the element. |
Input | A set and an element. |
Output | True if the set contains the element, false otherwise. |
Input | A set. |
Output | True if the set is empty, false otherwise. |
Input | A set. |
Output | True if the set is not empty, false otherwise. |
Input | A set. |
Output | The number of elements in the set. |
Input | Two sets. |
Output | A new set containing all elements from both sets. |
Input | Two sets. |
Output | A new set containing only elements that are in both sets. |