Question: def hasVowel(word): ''' - Return True when word is a string that contains a vowel (a,e,i,o,u,A,E,I,O,U). - It should work for both lower and upper

def hasVowel(word):

''' - Return True when word is a string that contains a vowel (a,e,i,o,u,A,E,I,O,U). - It should work for both lower and upper case vowels. - When word doesn't have a vowel, return False. Return True otherwise. - If word isn't a string, return False (because it is not a string containing a vowel). - Hint: recall the boolean operator "in" and use that when checking if a character is a vowel. '''

return "stub"

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!