Remove Vowels in a Sentence
This Program name is Remove Vowels in a Sentence. Write a Python program to Remove Vowels in a Sentence
The below link contains Remove Vowels in a Sentence question, explanation and test cases
https://drive.google.com/file/d/12FtBgqjIiaxVMyWPwI4Ys141HkUJJnpC/view?usp=sharing
We need exact output when the code was run
sentence = input()
vowels = ('a', 'e', 'i', 'o', 'u');
sentence=sentence.lower()
for letter in sentence:
if letter in vowels:
sentence = sentence.replace(letter,"");
print(sentence);
Comments
Leave a comment