Python Programming - Data Types - Discussion
Discussion Forum : Data Types - General Questions (Q.No. 44)
44.
What is the output of the following code snippet?
my_set = {1, 2, 3, 4, 5}
my_set.remove(3)
print(my_set)
Answer: Option
Explanation:
The
remove()
method is used to remove a specific element from a set.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers