Practice makes perfect - scrabble_score Please help really stuck


Hi I got this far with my code not sure why it isn't working please help!!


Hi @belinda1108,

On line 9, use r.lower() to update totalscore.


this is my line 9

totalscore += r.lower()

but it still doesn't work


Line 9 should be ...

    totalscore += score(r.lower())


I did that but it still won't work


Ah, sorry - it should be ...

    totalscore += score[r.lower()]

Square brackets were needed to access the score dictionary instead of parentheses.

Let us know whether that works.