46 Simple Python Exercises-Very simple exercises 4.Write a function that takes a character (i.e. a string of length 1) and returns True if it is a vowel, False otherwise. #编写一个函数,该函数接受一个字符(即长度为1的字符串),如果是元音,则返回true,否则返回false. def if_vowel(a): a=a.lowe…