Master Computers and Technology with Fun Quizzes & Brain Teasers!
Part 1 Write a function called is_vowel that takes a single argument, a string ( character ) that should contain only a single character. This function will return (not to be confused with print) True , if that character is a vowel, and False otherwise. We'll just consider a, e, i, o, and u to be vowels for this example. Example calls to this function, and the return value, are given below: is_vowel('t') is_vowel('o') is_vowel('u') # returns False # returns True # returns True You can include some test code for your function, or you can exclude it when you submit. The function itself will be all that is tested.