--Originally published at PYTHON 3
This mini program consists of converting any sentence the user gives in the same sentence but without vowels. For example, making the famous sentence:
The quick brown fox jumped over the lazy dog
The qck brwn fx jmpd vr th lzy dg
to do this we need a list with our vowels
vowels = (“a”,”e”,”i”,”o”,”u”)
and an empty string object that’s gonna show our final sentence without the vowels.
final = “”
Now here is the tricky part…
we are going to use a for loop, that is going to check all the letters in the sentence we are going to write, and if that sentence is not a vowel it will save in our variable final. and at the end we just print(final)