Counting with collections, and dates · exercise 1 of 1 · free preview
The game so far · chapter 19
Right now: The Data Mine has no chart of its zones.
This chapter's mission: Charts the Data Mine by zone. Work through the exercises, then your own code brings it to life.
Counter counts how often each item appears. .most_common(1) gives the most frequent as a list of pairs.
Count the letters of banana with Counter and print the single most common one.