I am stuck at Unit 8 exercise 9 Scrabble Score
I am writing the following line of code:
word = word.lower()
total = 0
for i in word:
total = word[i].sum()
This is the error:
Oops, try again. Does your scrabble_score function take exactly one argument (a
string)? Your code threw a "string indices must be integers, not str"
What all am I doing wrong? How dictionary needs to be treated?