- Eliminates Vowels Wipro previous year coding question

 


Problem: 

Write a program to eliminate vowels in the given string


Input Format:


Input consists of single string


Output Format:


Eliminate all vowels and print the string


Sample input: 


Education


Sample output:


dctn


Program:

string1=input()

vowels=['a','e','i','o','u','A','E','I','O','U']
list1=list(string1)

final_string=""
for item in list1:
if item not in vowels:
final_string+=item
print(final_string)



Post a Comment

Previous Post Next Post