Uploaded by Ronalyn Domingo

vowelremoveal

advertisement
#Problem: Write a program that takes a string as #input and returns a new string with all the #vowels (a, e, i, o, u) removed.
vowels = "aeiou"
result = ""
for char in input_string:
if char.lower() not in vowels:
result+=char
return result
input_string = "Hello, I am a programmer!"
result = remove_vowels(input_string)
print(result) 
Download