Python: count the words

EasyPython10 pts

write or fix word_count

Test results

Press "Run tests" to see how your code does.

    The tests run in your browser, so results are for your own learning: there are no rankings or prizes.