Vidyalelo
Python · Q31

Python Sets MCQs: Exam

Programming · Python · question 31

Q31

What is the purpose of the issuperset() method for sets?

A.
Checks if a set contains all elements of another set
Answer
B.
Checks if a set is a subset of another set
C.
Checks if a set has no elements in common with another set
D.
Checks if a set is equal to another set

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board