Python Programming - Sets - Discussion

Discussion Forum : Sets - General Questions (Q.No. 11)
11.
Which method is used to remove all elements from a set?
set.clear()
set.remove_all()
set.delete_all()
set.empty()
Answer: Option
Explanation:
The clear() method is used to remove all elements from a set.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.