Question: ( 1 0 pts ) Write a function called find _ words ( ) that looks for words in boxes - of - letters that
pts Write a function called findwords that looks for words in boxesofletters that
appear in a file. The function takes the name of a file string and list of words list of strings The
function generates a dictionary that reports which words were found in each boxofletters.
Error Handling:
This function should not break if the filename given does not match any files. In this case, the
function should return the string 'filenot found'.
Assumptions:
The word will appear vertically down or horizontally lefttoright only.
The box of letters is square.
The words being sought are exactly three letters.
File format: Each line of the file is a commaseparated listing of the letters See
examples
Dictionary format: The key is a string box "box etc the value is a list of the
words from the wordlist that appear in each letter box.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
