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

How does most_common break ties in a Counter?

from collections import Counter c = Counter(['b', 'a', 'a', 'b', 'c']) result = c.most_common()