Question: Define a function called disemvowel. It should take a single string as its argument. ( You can call that argument whatever you want. ) It

Define a function called disemvowel. It should take a single string as its argument. (You can call that argument whatever you want.) It should return a copy of that string, but with all the characters that are vowels removed. (In English, the vowels are the characters "a","e","i","o", and "u".) You can use as many lines inside of the function to do this as youd like.
Hint: To remove all the "a"s from a string, you can use that_string.replace("a",""). The .replace method for strings returns a new string, so you can call replace multiple times, one after the other.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!