The function keeps on printing the whole list instead of the score whenever it runs. Shouldn't it return total? Word is == to score so it should be returning the score, right?

def scrabble_score(word):
   total = 0
   for s in str(word):
      if word.lower() == score:
         total = score
   return score



for s in str(word):

you loop over word, so the letter will be in s


Got through it, thanks.