What will be the output of the following Python code? [code] >>> a={5,6,7,8} >>> b={7,8,10,11} >>> a^b [/code]

Đức Lưu

New member
What will be the output of the following Python code?
Code:
>>> a={5,6,7,8}
>>> b={7,8,10,11}
>>> a^b
A. {5,6,7,8,10,11}
B. {7,8}
C. Error as unsupported operand type of set data type
D. {5,6,10,11}
 

Tìm kiếm

Back
Top