A word have vowel letters and consonant.
There should not be no two vowels together
There should not be no two Cosants together
"z" is an exception from that rule. z can be repeating together
For example, "man" are True, "king","horse" are False, "zzzz" is True
Code
input_str1 = 'man'
input_str2 = 'king'
input_str3 = 'zzzz'
input_str4 = 'horse'
test_list = [chr(x) for x in range(ord('a'), ord('z') + 1)]
vowels = ['a','e','i','o','u']
test_list have full alphabets