+ 1

Remove vowels

Enter a word from the user, remove all vowels and print the word without vowels.... Any language is welcomed... Bonus : count the number of vowels.. Happy coding guys :)

13th Oct 2017, 9:58 AM
Chinmoy
Chinmoy - avatar
4 Answers
+ 6
a=input("Enter text:"\n") vowels=0 for i in a: if i not in 'aeiou': print(i,end='') else: vowels+=1 print("\nNumber of vowels:",vowels) #Python easy-to-do solution
13th Oct 2017, 10:22 AM
👑 Prometheus 🇾🇬
👑 Prometheus 🇾🇬 - avatar
13th Oct 2017, 12:26 PM
LunarCoffee
LunarCoffee - avatar