Shift vowels to beginning
Anonymous User
1374

Description
Write a program that receives a string and shifts all the vowels present in it to the beginning. Output the resultant string. The order of all the vowels with respect to each other as well as the order of all the other charcaters with respect to each other should stay the same.

Example:
Input 1:
You love Python!
Output 1:
ouoeoY lv Pythn!

Explanation: All the vowels have been shifted to the beginning in order. The order of all the other characters remains the same.

Comments (2)