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 aeio and u You can use as many lines inside of the function to do this as youd like.
Hint: To remove all the as from a string, you can use thatstring.replacea 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
