#clear all value to set in python
set_A= {"Apple", "Orange", "coconut"}
set_A.add("pineapple")
set_A.remove("Apple")
set_A.clear()
for x in set_A:
print(x)
nameSet = {"John", "Jane", "Doe"}
nameSet.clear()
print(nameSet)
# set()
mySet = {1, 2, 3}
mySet.clear()
print(mySet)
# Output:
# set()