Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Popular Words by anthony.mazzulli
def popular_words(text: str, words: list) -> dict:
return dict(zip(words, [text.lower().split().count(word) for word in words]))
July 15, 2019