Question: I am using Python 3 and please give a detailed explanation if possible. Thanks. Question 3: Vowels! (4 points) Write a fucntion vowel() that takes
I am using Python 3 and please give a detailed explanation if possible. Thanks.

Question 3: Vowels! (4 points) Write a fucntion vowel() that takes a string and returns the largest substring that starts with a vowel, ends with a vowel, and has no vowels in between. If the string has less than 2 vowels return false. If two substrings have the same length, your code should return the first substring. # YOUR CODE HERE #raise Not ImplementedError() print("Test 1 : ", vowel ("Hello this is a sample string longet vowel substring is annnnnnnnnnnnndie") == "annnnnnnnnnnnndi") print("Test 2 :", vowel ("But I regard the two names as describing one form only; for whether the government is in the nads of or print("Test 3 : ", vowel("") == False)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
