Add Items from List Using update() :

thisset = {"apple", "banana", "cherry"}
mylist = ["kiwi", "orange"]
thisset.update(mylist)
print(thisset)

Output :

{'apple', 'banana', 'cherry', 'kiwi', 'orange'}

Remove Item Using remove() :

thisset = {"apple", "banana", "cherry"}
thisset.remove("banana")
print(thisset)

Output :

{'apple', 'cherry'}

Remove Item Using discard() :

thisset = {"apple", "banana", "cherry"}
thisset.discard("banana")
print(thisset)

Output :

{'apple', 'cherry'}

Remove Last Item Using pop() :

thisset = {"apple", "banana", "cherry"}
x = thisset.pop()  # Random item removed
print(x)
print(thisset)

Output :

banana
{'apple', 'cherry'}

Clear Entire Set :

thisset = {"apple", "banana", "cherry"}
thisset.clear()
print(thisset)  # Output will be set()

Output :

set()

Delete Set Completely :

thisset = {"apple", "banana", "cherry"}
del thisset
# print(thisset)  ❌ Error if you try to print deleted set

Output :

NameError: name 'thisset' is not defined