Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Popular Words solution in Clear category for Popular Words by Kain12345
def popular_words(text: str, words: list) -> dict:
text = text.lower()
splitted_words = text.split()
answer = {}
for word in words:
answer[word] = splitted_words.count(word)
return answer
Nov. 23, 2018