Difference between the remove() method and discard() method of sets in python
The difference between the remove() and discard() functions is that the
remove() function will raise an error if the given value to remove does
not exist within the set, whereas the discard() function will not raise an error.