Light Mode
Dark Mode
stange error..

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

Attachment
Created: May 30, 2019, 1:46 p.m.
Updated: May 30, 2019, 3:50 p.m.
0
5
User avatar
jeanorenucci