In this problem you should read a set of words, where each word is composed only of letters in the range a-z and A-Z. Each letter has a specific value, the letter a is worth 1, the letter b is worth 2, and so on up to the letter z, which is 26. Likewise, the letter A is 27, the letter B is 28, and the letter Z is 52.
You should write a program to determine whether a word is a word or not. A word is a word if the sum of its letters is a prime number.
I'm in doubt how to do it, I've already created the variables, a = []
for i in range(ord('a'), ord('z')+1):
a.append(chr(i))