• stange error..

Question related to mission Three Words

 

def checkio(words: str) -> bool:

listeDeNombres="123456789"
compteurDeMots = 0
for w in words.split():        
    if w not in listeDeNombres:
        compteurDeMots = compteurDeMots + 1
    else:
        compteurDeMots = 0
if compteurDeMots >= 3:
    return True
else:
    return False

What is this error ? showing one two 3 four etc.. on assert 3 ?? I don't get it.. The thing works on my IDE Thanks