Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Compr solution in Clear category for Popular Words by Rudeboyz_Squad
def popular_words(text: str, words: list) -> dict:
text = text.lower().split()
return {i:text.count(i) for i in words}
April 4, 2019