Q83
What will be the output of the following Python code snippet? >>> import collections >>> a=collections.Counter([2,2,3,3,3,4]) >>> b=collections.Counter([2,2,3,4,4]) >>> a|b
A.
Counter({3: 3, 2: 2, 4: 2})
AnswerB.
Counter({2: 2, 3: 1, 4: 1})
C.
Counter({3: 2})
D.
Counter({4: 1})
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board