Skip to content

Commit 214c6f0

Browse files
authored
Merge pull request #843 from thechrislee/PCC01
My solution to PCC01
2 parents bceb157 + 8170a75 commit 214c6f0

File tree

4 files changed

+235944
-0
lines changed

4 files changed

+235944
-0
lines changed

01/thechrislee/data.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
DICTIONARY = 'dictionary.txt'
2+
3+
scrabble_scores = [(1, "E A O I N R T L S U"), (2, "D G"), (3, "B C M P"),
4+
(4, "F H V W Y"), (5, "K"), (8, "J X"), (10, "Q Z")]
5+
LETTER_SCORES = {letter: score for score, letters in scrabble_scores
6+
for letter in letters.split()}

0 commit comments

Comments
 (0)