Computer Science, asked by iamkishore1603, 1 month ago

Write a python program to read a string and print the string without vowels

Answers

Answered by XxItzAdyashaxX
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 mamtameena18480
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