Set Methods

Value to add/remove from set (not needed for pop, clear, copy)
Console Output
>

Set Methods Visualization

AInitial Set

Empty Initial Set
No elements to display

Method Result

Ready to Visualize
Run the code to see the set method results

Set Methods Reference

add()
Add element
remove()
Remove element
discard()
Remove safely
pop()
Remove arbitrary
clear()
Remove all
copy()
Create copy

Set Properties

0
Size
Unique
Mutable
🔧
Methods