+0  
 
0
869
1
avatar

The file $\verb#wordlist.txt#$ contains one word per line. You can find the file here: http://artofproblemsolving.com/assets/pythonbook/_static/files/wordlist.txt

 

Write a program that finds the highest-scoring Scrabble word in the file. You should run this program in IDLE. Enter the highest scoring word that you find as your answer. In 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 $1+1+1+4+1+1+2=11$ points. (Those of you who are avid Scrabble players may know that there's a 50-point bonus for a word with 7 or more letters -- ignore that bonus for the purpose of this problem.)

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,

 Dec 11, 2020
 #1
avatar
0

Please answer this!!!!!!!!!!!!!!!!!!!!!!!!!!!1

 May 20, 2022

2 Online Users