Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Pythonic enough? solution in Clear category for Popular Words by new_hoschi
def popular_words(text: str, words: list) -> dict:
return {word:text.lower().split().count(word) for word in words}
March 28, 2020
Comments: