Question: Complete the following program to print each vowel (a, e, i, o, u) and its index position in a word. For example, given the
Complete the following program to print each vowel (a, e, i, o, u) and its index position in a word. For example, given the word exarine, the program would produce the following output: e-8 a 2 1-4 06 findvowels.py 1 word Input ("Enter a word: "). 2 word word. lower() 3 for 4 5 6 ch It A word[11 print(ch,, 1)
Step by Step Solution
3.41 Rating (151 Votes )
There are 3 Steps involved in it
CODE IN PYTHON declaring and initializing numlist numlist 152465 l lennumlist declaring cumul... View full answer
Get step-by-step solutions from verified subject matter experts
