[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

# Program Discussion :: Basics

Home > Programs > Basics

3 / 279

## Write a program to remove the vowels from the input string.

Answer:

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,"")


#### Asked In :: IBM

Post Your Answer Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here:

Language:

Post Your Reply Here: