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 at: 2019/05/09 18:14; Updated at: 2019/05/10 04:16