Let setA={3,6,9}, setB={l,3,9}. What will be the result of the following snippet? print(setA|setB)
A. {3,6,9,1,3,9}
B. {3,9}
C. {1}
D. {1,3,6,9}
Answer:D
Let setA={3,6,9}, setB={l,3,9}. What will be the result of the following snippet? print(setA|setB)
A. {3,6,9,1,3,9} B. {3,9} C. {1} D. {1,3,6,9}