Question: In Python def func5_vowel(): # given a string 's' # use list comprehension to generate a new list, that only consists of the vowel letters:

In Python def func5_vowel(): # given a string 's' # use list comprehension to generate a new list, that only consists of the vowel letters: AEIOU, from string 's' # note, all input strings are capital letter. Expect to return a new list of ['A', 'I', 'A', 'E', ....] s = 'MATH IS A GREAT SUBJECT BUT NOT EVERYONE LOVES IT'

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!