Question 1
3 marksUsing lowercase ASCII words separated by punctuation or spaces, count 'Oak, OAK! ash oak'. Give the final mapping and the number of unique keys.
Show solution and marking guidance
Indicative answer
- oak has count 3.
- ash has count 1.
- There are two keys: {'oak': 3, 'ash': 1}.