Python 100 project #43: PyBites “Code Challenge 01 – Word Values Part I”

This time I try PyBites Code Challenge as a part of my 100 python.

The Challenge objective is as follows:

Read in dictionary.txt (a copy of /usr/share/dict/words on my Mac) and calculate the word that has the most value in Scrabble based on LETTER_SCORES which is imported in wordvalue-template.py.

This is my code:

 

It’s quite simple and I received the result in sub-second.