Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Using groupby solution in Clear category for Three Words by erykcoapl
import itertools
def checkio(words: str) -> bool:
return max([0] + [
len(list(g)) for b, g in itertools.groupby(
word.isalpha() for word in words.split()
) if b
]) >= 3
March 6, 2021
Comments: