Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Popular Words by Nakadashifc2ber
def popular_words(text: str, words: list) -> dict:
num = list(map(lambda w: text.lower().split().count(w), words))
return dict(zip(words, num))
April 24, 2021