Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Monkey Typing by logicalladybuglifestyle
def count_words(text: str, words: set) -> int:
text = text.lower().split(' ')
count = 0
for i in words:
for j in text:
if len(j) != len(j.replace(i, '')):
count += 1
break
return int(count)
April 11, 2020
Comments: