Could someone help me to solve this problem? I don't know why it doesn't work. Plz

Replace this line with your code.


Try adding print statements which show what it's doing. For example, print out the current letter and its associated score, along with the new updated overall score


To add to what @ionatan said, make sure you are calling the function as well as defining it.


Thank you! It is a great help!