Vidyalelo
Python · Q74

Python Sets MCQs: Exam

Programming · Python · question 74

Q74

Which of the following functions will return the symmetric difference between two sets, x and y?

A.
x | y
B.
x ^ y
Answer
C.
x & y
D.
x - y

Answer: Option B

Solution

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