Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1 line, sum solution in Clear category for Monkey Typing by kdim
def count_words(text: str, words: set) -> int:
return sum(w in text.lower() for w in words)
Feb. 21, 2021