Question: python Write a function doubleVowels(string) which doubles each vowel in the given string. For example, doubleVowels('dog') prints or returns 'doog'. Similarly, the word 'achieve' results
python
Write a function doubleVowels(string) which doubles each vowel in the given string. For example, doubleVowels('dog') prints or returns 'doog'. Similarly, the word 'achieve' results in 'aachiieevee'. You can assume we are only concerned with lower case vowels. Vowels are the letters a, e, i, o, u, y. After writing your function, what does it produce for the English word with the most vowels: 'euouae'?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
