Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python3 vowels and consonants filter

def eliminate_consonants(x):
        vowels= ['a','e','i','o','u']
        for char in x:
            if char in vowels:
                print(char,end = "")

eliminate_consonants('mississippi')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #vowels #consonants #filter
ADD COMMENT
Topic
Name
9+9 =