• 'four five six' are words

Question related to mission Three Words


Here is my code:

def checkio(words: str) -> bool:
    array = words.split(' ')
    if len(array) < 3:  
        return False
    while True:
        for i in array[0:3]:
            if not i.isalpha():
                return False
        del array[0]
        return True

But here is the problem showed after checking:

assert checkio('one two 3 four five six 7 eight 9 ten eleven 12') == True ...

Why Fail? What's wrong?