If we have two sets, s1 and s2, and we want to check if all the elements of s1 are present in s2 or not, we can use the function:
A. s2.issubset(s1)
B. s2.issuperset(s1)
C. s1.issuperset(s2)
D. s1.isset(s2)
Answer: Option B
Related Questions on Sets in Python
Which of the following data types in Python is mutable and does not allow duplicate elements?
A. Set
B. List
C. Tuple
D. Dictionary
What does the len() function do when applied to a set or tuple?
A. Returns the number of elements in the set or tuple
B. Converts the set or tuple to lowercase
C. Converts the set or tuple to uppercase
D. Removes the last element

Join The Discussion