Question: Write a function begins_with_vowel that consumes a non-empty string and returns whether the first character of that string is a vowel. A simple way to

Write a function begins_with_vowel that consumes a non-empty string and returns whether the first character of that string is a vowel. A simple way to test if a single character is a vowel is to determine if it is in the string "AEIOU" Keep in mind that your function should work for both uppercase and lowercase letters. Print the result of calling your function twice on two different strings of your choosing. Note: Do not use any if statements in solving this. That may seem impossible, but remember how you can use conditional operators by themselves
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
