Write a Python function to strip vowels from a string


Topic: Write a Python function to strip vowels from a string

Solution

def vowel_stripping(string):
    '''This function takes a string as an input strips out vowels and returns stripted out string'''
    return "".join([x for x in string if x not in('a','e','i','o','u')])



List all Python Programs