Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Striped Words solution in Creative category for Striped Words by capback250
def checkio(string):
VOVELS = "aeiouy"
words = 0
sss = [0,1]*1000
for i in string.replace(",", " ").replace(".", " ").replace("?", " ").lower().split():
if i.isalpha() and len(i) > 1:
temp = []
for k in i:
if k in VOVELS:
temp.append(1)
else:
temp.append(0)
if str(sss).find(str(temp)[1:-1]) != -1:
words += 1
else:
continue
return words
Aug. 10, 2015
Comments: