Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python3 vowels and consonants filter

def anti_vowel(c):
    newstr = c
    vowels = ('a', 'e', 'i', 'o', 'u')
    for x in c.lower():
        if x in vowels:
            newstr = newstr.replace(x,"")

    return newstr
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #vowels #consonants #filter
ADD COMMENT
Topic
Name
7+9 =