Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1 line solution in Clear category for Popular Words by thealfest1
def popular_words(text: str, words: list) -> dict:
return {word: text.casefold().split().count(word) for word in words}
Jan. 7, 2019
Comments: