I originally had this set-up but after getting the error
“Your function fails on scrabble_score(“pie”). It returns “None” when it should return “5”.”
I printed out the result to see really what was being inputed to the method which is:
My code is here:
counter = 0
for i in word.lower():
if i in score:
Why am I getting more than pie?