Question: Write a complete program that reads a string and displays the vowels. The vowels are A, E, I, O, U and a, e, i, o,

Write a complete program that reads a string and displays the vowels. The vowels are A, E, I, O, U and a, e, i, o, u. Here are three sample runs:

Sample Run 1

Enter a string: Welcome to Python

The vowels are eoeoo

Sample Run 2

Enter a string: Student Union

The vowels are ueUio

Sample Run 3

Enter a string: AREIOUaeiouRTE

The vowels are AEIOUaeiouE

Note: your program must match the sample run exactly.

using python

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!