Phác Chí Huấn
New member
What will be the output of the following Python code?
A. Invalid operation
B. {3, 4, 5, 6, 7}
C. {5}
D. {3,4,6,7}
Code:
>>> a={3,4,5}
>>> b={5,6,7}
>>> a|b
B. {3, 4, 5, 6, 7}
C. {5}
D. {3,4,6,7}