Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First for "Three Words" solution in Clear category for Three Words by olgag
def checkio(words: str) -> bool:
""" Check if the string contains three words in succession """
count = 0
for word in words.split():
if word.isalpha():
count += 1
if count == 3:
return True
else: count = 0
if count >= 3: return True
else: return False
Feb. 6, 2021