Practice makes perfect - scrabble_score Please help really stuck


#1

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


#2

Hi @belinda1108,

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


#3

this is my line 9

totalscore += r.lower()

but it still doesn't work


#4

Line 9 should be ...

    totalscore += score(r.lower())

#5

I did that but it still won't work


#6

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.


#7