Question 1
Which function is used to remove a specific element from a set in python?
Question 2
Which function is used to add an element to an existing set in python?
Question 3
What is the purpose of the clear() function for sets in python?
Question 4
What is the purpose of the symmetric_difference() function for sets in python?
Question 5
What is the result of the pop() function when applied to a set in python?
Question 6
What does the len() function return when applied to a set in python?
Question 7
Which function is used to check if one set is a subset of another set in python?
Question 8
Which built-in function in python is used to create a new set from an iterable (example a list or a tuple)?
Question 9
What is the purpose of the difference() function for sets in python?
Question 10
Which function is used to find the intersection of two or more sets in python?