Remove consonants from a string
Basic Accuracy: 38.12% Submissions: 14430 Points: 1

Given a string s, remove all consonants and prints the string s that contains vowels only.
Input: The first line of input contains integer T denoting the number of test cases. For each test case, we input a string.
Output: For each test case, we get a string containing only vowels. If the string doesn't contain any vowels, then print "No Vowel"



The string should consist of only alphabets.


Input: geEks
Output: eE
Input: what are you doing
Output: a ae ou oi

to report an issue on this page.


We strongly recommend solving this problem on your own before viewing its editorial. Do you still want to view the editorial?


All Submissions

My Submissions:

Login to access your submissions.