Question 1
Write a function starts_and_ends_with_same_vowel that takes a string as input and returns True if the string starts and ends with the same vowel (case insensitive), otherwise False.
NOTE: This is a function type question, you don't have to take input or print the output, just complete the required function definition.
Example
starts_and_ends_with_same_vowel("Apple") → False (starts with A and ends with e, different vowels)
starts_and_ends_with_same_vowel("Atta") → True (starts with A and ends with a, same letter and vowel)
starts_and_ends_with_same_vowel("Tart") → False (starts with T, ends with t, same letter but not vowel)
starts_and_ends_with_same_vowel("umbrella") → False (starts with u, ends with a, different vowels)
Your task
Implement this function:
def starts_and_ends_with_same_vowel(s: str) -> bool:
Write the function only — the arguments are read for you and the return value is printed automatically.
Arguments arrive as one Python literal per line, in this order: s.
Example
Input
"Apple"
Output
False