Question: Your first task is to complete a function which takes in a letter and outputs the score for that letter. A dictionary can be used

Your first task is to complete a function which takes in a letter and outputs the score for that letter. A dictionary can be used to store the information from the scoring table above. Write python code to do the following: Inside the provided letter_score function, use the provided scores dictionary S to determine the score for the provided letter called letter. Store the score in a variable called score. Note: you may assume that the input letter will always be uppercase. Your code replaces the prompt

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock