Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Shorter solution in Clear category for Three Words by maxadamski
from itertools import groupby
def checkio(words):
ws = [w.isalpha() for w in words.split(' ')]
return any(k and len(list(g)) >= 3 for k, g in groupby(ws))
Oct. 21, 2017
Comments: