Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
simpler solution in Clear category for Three Words by wooilkim
def checkio(words: str) -> bool:
cnt = 0
for word in words.split():
cnt = cnt + 1 if word.isalpha() else 0
if cnt == 3:
return True
return False
May 27, 2021