Write a python program to read a string and print the string without vowels
Answers
Answered by
0
Answer:
replace(x,""); print("New string after successfully removed all the vowels:"); print(newstr); string = input("Enter any string: ") if string == 'x': exit(); else: newstr = string; print("\nRemoving vowels from the given string"); vowels = ('a', 'e', 'i', 'o', 'u'); for x in string.
Answered by
0
Explanation:
replace(x,""); print("New string after successfully removed all the vowels:"); print(newstr); string = input("Enter any string: ") if string == 'x': exit(); else: newstr = string; print("\nRemoving vowels from the given string"); vowels = ('a', 'e', 'i', 'o', 'u'); for x in string.
Similar questions