What will be the output of the following Python code? [code] >>> a={3,4,5} >>> b={5,6,7} >>> a|b [/code]

What will be the output of the following Python code?
Code:
>>> a={3,4,5}
>>> b={5,6,7}
>>> a|b
A. Invalid operation
B. {3, 4, 5, 6, 7}
C. {5}
D. {3,4,6,7}
 

Tìm kiếm

Back
Top