Python 3 Scrabble Task 15 - lowercase inputs

One of the further practices ask for*:" make your letter_to_points dictionary able to handle lowercase inputs as well"*

Instead of create another dict with lowercase letters, I simply used the .upper() to make all parameter input as uppercase.

It seemed to work.

This is a correct approach? Am I missing something here?

def score_word(word):

point_total = 0

for letter in word.upper():

point_total += letter_to_points.get(letter, 0)

return point_total