►
Run
x = {'apple', 'banana', 'cherry'} e = 'banana' x.discard(e) print(x)
Output