Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Sherlock Holmes
5. Find word frequency

Instruction

Good job! Let's find out how many times the hound occurs in the book.

Exercise

Write a function get_frequency_dict() that takes a list of words and returns a dictionary with words as keys and the number a given word appears in the list as values.

Use the function to display how many times the word 'hound' occurs in "The Hound of the Baskervilles."