one two 3 four five six 7 eight 9 ten eleven 12
Hi, I run code in pycharm and that's my code:
def checkio(words: str) -> bool:
count=0
array_of_w=words.split()
for word in array_of_w:
print(word)
if word.isalpha():
count+=1
else:
count = 0
if count >=3:
return True
else:
return False
I get an error: Your result:false one two 3 four five six 7 eight 9 ten eleven 12 Right result:true Fail:undefined("one two 3 four five six 7 eight 9 ten eleven 12")
also among my asserts there isn't string " "one two 3 four five six 7 eight 9 ten eleven 12" There are only: * "Hello World hello" * "He is 123 man" * "1 2 3 4" * "bla bla bla bla" * "Hi" There is not string like in the error
task.three-words