Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
dict solution in Speedy category for Popular Words by David_Jones
def popular_words(text, words):
counter = {word: 0 for word in words}
for word in text.lower().split():
if word in counter:
counter[word] += 1
return counter
June 17, 2019
Comments: