Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started