write in python,
In the popular game of Scrabble, dictionary words are scoredbased on a letter scoring system. The following shows how theletters are scored:
Letter(s) Score |
E, A, I, O, N, R, T, L, S, U= 1 |
D, G = 2 |
B, C, M, P = 3 |
F, H, V, W, Y = 4 |
K = 5 |
J, X = 8 |
Q, Z = 10 |
Thus, for example,
QUIZ = 20 (10+1+1+10) APPLE = 8 (1+3+3+1+1)
You will be provided with a list of 128,959 English words in afile called all_words.txt. In a previous assignment you had pickedthe name of your favorite animal. For this project, find the sum ofScrabble scores of every word from all_words.txt that has the sameScrabble score as the name of your favorite animal.
As an example, Jane’s favorite animal is VULTURE. It has aScrabble score of 10 (4+1+1+1+1+1+1). Some words that would matchthis same score are: CAMP, DAMP, FIVE, AXE, so on…
Expert Answer
Answer to write in python, In the popular game of Scrabble, dictionary words are scored based on a letter scoring system. The foll…