nameSet = {"John", "Jane", "Doe"} nameSet.clear() print(nameSet) # set()
mySet = {1, 2, 3} mySet.clear() print(mySet) # Output: # set()