First solution in Clear category for Striped Words by jacekgrycza
V = "AEIOUY"
C = "BCDFGHJKLMNPQRSTVWXZ"
while(i0 and len(x[-1])<2) or not x[-1].isalpha()):
for p in x:
for j in range(0,len(p)-1):
if ( ((p[j] in V or p[j].upper() in V) and (p[j+1] in V or p[j+1].upper() in V)) or ((p[j] in C or p[j].upper() in C) and (p[j+1] in C or p[j+1].upper() in C)) ):
Oct. 26, 2016