• Can't understand logic of it to pass Three Words

Question related to mission Three Words

 

I'm stucked at this point:

def checkio(words: str) -> bool: count=0 for w in words.split(' '): if w.isalpha(): count += 1 else: count = 0 if count>=3: print('True') else: print('False')

So I can't understand how I need to finish to reach proper output.

4