1

Suppose there are two sets, set1 and set2,where set1 is the superset of set2. It is required to get only the unique elements of both the sets. Which of the following will serve the purpose?

Correct Answer: set1-set2

Make the most of this question

This page focuses on one Python MCQs question from Programming. After checking the answer, return to the topic list to practice more or run a timed set.

Python MCQs MCQ: Suppose there are two sets, set1 and set2,where set1 is the superset of set2. It is required to get only the unique elements of both the sets. Which of the following will serve the purpose? | Extra Education