If two adjacent characters are same or i 'th char is  not vowel then invalid
if ( s [ i ] == s [ i - 1 ] or not isVowel ( s [ i ] ) ) : NEW_LINE INDENT return False NEW_LINE DEDENT return True NEW_LINE