Question: collect_vowels(string) - The parameter s is a string. This function will recursively return a list where the elements in the list are the vowels that
- collect_vowels(string) - The parameter s is a string. This function will recursively return a list where the elements in the list are the vowels that exist in s (in the case that appears in s). If there are no vowels in s, then this function will return an empty list.
# Example test assert collectVowels("This Is A Sentence") \ == ['i', 'I', 'A', 'e', 'e', 'e'] 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
