Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
re solution in Clear category for Striped Words by gyahun_dash
from re import findall, match, split
def checkio(text):
isalt = lambda w: ''.join(findall('[AEIOUY]', w)) in (w[0::2], w[1::2])
words = (w for w in split('\W+', text.upper()) if match('[A-Z]{2,}', w))
return len(list(filter(isalt, words)))
Aug. 15, 2014
Comments: