$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · hard · #163

What goes in the blank?

# count each word in one line
from collections import Counter
tally = ____(words)

Answer: Counter (also accepted: Counter, Counter())

Counter builds a dict of element counts in one call.
Play Problem Solving ▸