Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Clean solution in Clear category for Three Words by PaszaVonPomiot
def checkio(words: str) -> bool:
words = words.split()
bits = [ '1' if word.isalpha() else '0' for word in words ]
bits = ''.join(bits)
if '111' in bits:
return True
else:
return False
May 24, 2020
Comments: