Question: PYTHON 3 Question 4: Find Vowels Write a function that takes as input a string and returns a list of the index positions of all

PYTHON 3

Question 4: Find Vowels Write a function that takes as input a string and returns a list of the index positions of all the vowels in the word. A vowel is defined as any letter in "aeiouAEIOU". Use this function in a program that prompts the user for a word or phrase and outputs the index positions of all the vowels. Make your program user friendly. You must NOT print the index positions as a list. Instead, the index positions should be printed one per line as shown below.

For example, your program may execute as follows:

Please enter a word (or phrase) and I will tell you where the vowels are: Hello WORLD!!

The vowels are at positions:

1

4

7

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!