Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumPythoncollections Counter defaultdict dequeSingle-choice MCQ

What is the value of c after this Counter operation?

from collections import Counter c = Counter(a=3, b=1) c.subtract(Counter(a=5, b=1, c=2)) print(dict(c))