def remove_vowels(input_string): vowels = ['a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U'] new_string = '' for char in input_string: if char not in vowels: new_string += char print(new_string) remove_vowels(input('Enter a string: '))

Built With

Share this project:

Updates