define a function scrabble_score that take a string word as input and returns the equivalent scrabble score for that word.
Assume your input is only one word containing no spaces or punctation.
Your function should work even if the letter you get are uppercase,lowercase,or a mix.
def scrabble_score(word):
total = 0
for x in word:
total += score[x.lower()]
return total
def scrabble_score(word):
return sum([score[x] for x in word.replace("","").lower() if x in score])