Home / MCQ Bank / Computer
Computer Dictionary In Python

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

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • Counter({3: 3, 2: 2, 4: 2})

Related Computer Questions

A grid is not supported by ______ What does the 'pch' option to par() control? In MS-Word shortcut Shift + Delete is used to Which of the following data structure is used to implement BFS? What is the main advantage of using a union in C?