Source Code:
(back to article)
my_set = {'apple', 'banana', 'cherry'} my_set.discard('banana') print(my_set)
Result:
Report an issue