1.

What is the output of the following code? >>> a={4,5,6} >>> b={2,8,6} >>> a+b

A. {4,5,6,2,8}
B. {4,5,6,2,8,6}
C. Error as unsupported operand type for sets
D. Error as the duplicate item 6 is present in both sets
Answer» D. Error as the duplicate item 6 is present in both sets


Discussion

No Comment Found