Source Code:
(back to article)
my_set = {'apple', 'banana', 'cherry'} my_set.clear() print(my_set)
Result:
Report an issue