Light Mode
Dark Mode
Please help me. what is problem ?
def f(words):
    words = 'hi huy hey 25 ok'
    for i in words.split():
        if i.isdigit():
            words = words[:words.find(i)]
            words = words.split()
            if len(words) > 2:
                return(True)
            else:
                return(False)

    if len(words) > 2:
        return(True)
    else:
        return(False)
print(f(str()))
Created: May 9, 2019, 6:14 p.m.
Updated: May 10, 2019, 4:16 a.m.
0
5
User avatar
narek9187