total = 0
for i in word.lower():
total += score.get(i)
This is how I solved the scrabble score, but I was wondering if there was a better/ more efficient way.
I really don't like having to define total and set it to 0, is there some alternate method that's better?