Without Vowels

--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

7a5a8f10364877.560e3a9483d9b.png

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)

screenshot-from-2016-10-15-19-23-40

screenshot-from-2016-10-15-19-05-34