Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
itertools.groupby solution in Clear category for Three Words by flpo
from itertools import groupby
def checkio(words):
groups = groupby(w.isalpha() for w in words.split())
return next((b for b, c in groups if b and len(list(c)) > 2), False)
Sept. 23, 2017
Comments: