Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Popular Words by kim.yangjin
def popular_words(text: str, words: list) -> dict:
result = {}
for i in words:
result[i] = text.lower().split().count(i)
return result
May 7, 2020
Comments: