Examveda

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

A. x | y

B. x ^ y

C. x & y

D. x - y

Answer: Option B


This Question Belongs to Python Program >> Sets In Python

Join The Discussion

Related Questions on Sets in Python