Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Second solution in Clear category for Popular Words by paolo.carlevero
def popular_words(text: str, words: list) -> dict:
return {word: text.lower().split().count(word) for word in words}
April 29, 2021