vowelIndex Write a function vowelIndex that accepts a word (a str ) as an argument and returns the index of the first
Posted: Mon May 09, 2022 7:00 am
vowelIndex
Write a function vowelIndex that accepts a word (a str ) as an argument and returns the index
of the first vowel in the word. If there is no vowel, -1 is returned. For this problem, both upper
and lower case vowels count, and 'y' is not considered to be a vowel.
Write a function vowelIndex that accepts a word (a str ) as an argument and returns the index
of the first vowel in the word. If there is no vowel, -1 is returned. For this problem, both upper
and lower case vowels count, and 'y' is not considered to be a vowel.