• Failing on Hi?!?!

Question related to mission Three Words


I'm not sure why, but I'm getting the wrong out put when my function is applied to "hi" in the three words game.

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