Sample input1:
FACE
Sample Output1:
AE
Sample input2:
Focus Academy
Sample Output2:
Ou Aae
Program:
word=input()
list1=list(word)
string=""
vowel=['a','e','i','o','u','A','E','I','O','U',' ']
for item in list1:
if item in vowel:
string+=item
print(string)
Post a Comment