How to remove all vowels or letters what I want in a string? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to remove all vowels or letters what I want in a string?

Well... I want to create a vowel remover using python... I have it: myvar = input() print(myvar) So... I should do anything between the first and the second code line... What I do to remove all the vowels in any string that I wrote in input? For example "Hello"

10th Jun 2018, 8:56 PM
Redacted
Redacted - avatar
3 Answers
+ 2
https://code.sololearn.com/cCO9X6uIwcw2/?ref=app Not very familiar with python, but the above code works
10th Jun 2018, 9:12 PM
Jhon
Jhon - avatar
11th Jun 2018, 1:55 PM
Sahil Danayak
Sahil Danayak - avatar
0
check the update, the previous code was not optimal.
11th Jun 2018, 2:32 AM
Jhon
Jhon - avatar