My Python Notes
My Python Notes
Detailed Explanation
Term Functionality
The add() method is used to add a single element to a
Adds an element to a set in set. If the element already exists, it does not add it
add()
Python. again since sets contain only unique elements.