End of Summer - hours only!Up to 80% off on all courses and bundles.-Close
Scrabble Time

Instruction

Awesome!

Exercise

Now create a function called find_best_possible_words() that takes three arguments:

  • a set of letters from which the word can be created (letters).
  • a file with all possible words (filename).
  • a dictionary of letters and their values (letter_values)

The function should return a set of words of the greatest value that can be created from letters.

Remember, the words you create should be a minimum of 2 letters long and a maximum of 7 letters long.

Stuck? Here's a hint!

Use the find_possible_words() and find_max_valued_words() functions.