Scrabble

This is the program we have so far. Note that I made a function to return the word value.

Your Tasks

  1. First find the maximum word value: max(word_values) (should be 44). Print a 'friendly' statement with this information: The maximum word value {}.
  2. Find the first word that has that value (use index() for this). Print a 'friendly' statement with this information: The first word with the value {} is {}.
  3. Loop through all the word_values to find all the indexes that have that same value, then find and print all the words that have that value, one per line.
  4. Prompt for a value (e.g., 13) then print all the words with that value.
  5. Prompt for a sentence then print the total scrabble value for the sentence. Make sure it disregards punctuation.