This is the link to Python / Practice_Makes_Perfect / Scrabble_Score
I'm not sure if it's behaving incorrectly or not. The view on the right says 'None', but it is accepted (I'm allowed to move on). When I run it through Terminal, it prints out the appropriate scores.
Am I missing something or is it okay that it just prints 'None'?
def scrabble_score(word): word_score = 0 for letter in word: word_score += score[letter.lower()] return word_score print word_score