Implement functions that create sets, inspect their contents, demonstrate that a set stores each distinct element only once and add and remove elements with add, remove, discard, pop and clear. The key distinction is whether an operation requires the element to exist before it can be removed.
No results yet
Run your code to check it against the examples, or submit to run every test.