+0  
 
0
230
1
avatar

In the game Scrabble, each letter is worth a certain number of points, as given by the chart below (and also, conveniently, as a dictionary), and a word is worth the sum of the scores of its letters. For example, the word "solving" in Scrabble is worth points.
 

A 1 J 8 S 1 B 3 K 5 T 1 C 3 L 1 U 1 D 2 M 3 V 4 E 1 N 1 W 4 F 4 O 1 X 8 G 2 P 3 Y 4 H 4 Q 10 Z 10 I 1 R 1

 

values = {'A':1,'B':3,'C':3,'D':2,'E':1,'F':4,'G':2,'H':4,'I':1, 'J':8,'K':5,'L':1,'M':3,'N':1,'O':1,'P':3,'Q':10,'R':1, 'S':1,'T':1,'U':1,'V':4,'W':4,'X':8,'Y':4,'Z':10}


Unfortunately, my little sister lost the 'Z' tile from my game.

Write a Python program to find the highest scoring 7-letter word from the file that doesn't contain the letter 'Z'. Enter it as your answer below. There are two possible answers; either of them will be marked correct.

 May 25, 2022
 #1
avatar+118608 
0

I don't think that you have proofread your question.

 May 26, 2022

3 Online Users