Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Three Words by iss.e.jeck
def checkio(words: str) -> bool:
words_count = 0
for s in words.split():
if s.isalpha():
words_count += 1
if words_count ==3 :
return True
else:
words_count = 0
return False
June 24, 2021