Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Popular Words by yoichi
def popular_words(text: str, words: list) -> dict:
text_list = text.lower().split()
return {w: text_list.count(w) for w in words}
May 10, 2018
Comments: