Skip to content
RED SAG Skills
easy5 pts · first answer countshash-mappythongrouping

Grouping with defaultdict

With g = defaultdict(list), what does g[city].append(order) do when city is not yet a key?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions