Python - Add Set Items
Once a set is created, you cannot change its items, but you can add new items.
To add one item to a set use the
To add items from another set into the current set, use the
Add Any Iterable
The object in the
update() method does not have be a set, it can be any iterable object (tuples, lists, dictionaries et,).