demo_set_discard.py:
thisset = {"apple", "banana", "cherry"} thisset.discard("banana") print(thisset)
C:\Users\My Name>python demo_set_discard.py