# discard() function will not raise an error if the given value to remove # does not exist within the set mySet = {1, 2, 3} mySet.discard(1) print(mySet) # Output: # {2, 3}