Answer to Question #221390 in Python for Hari nadh babu

Question #221390

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

1
Expert's answer
2021-08-05T06:54:36-0400
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);






Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS