Alternating Vowels And Consonants Python, vowels and consonants are strings containing the respective sets of characters.