Question: psudocode this for me please. #function check whether the given character is vowel or not def isVowel(ch): #condition for vowel if(ch.lower() == 'a' or ch.lower()
psudocode this for me please.
#function check whether the given character is vowel or not def isVowel(ch): #condition for vowel if(ch.lower() == 'a' or ch.lower() == 'e' or ch.lower() == 'i' or ch.lower() == 'o' or ch.lower() =='u' ): return True return False #function check for word start and ends with vowel def checkStartEndVowel(s): #condition check for start and end character to be vowel by calling isVowel() function if(isVowel(s[0]) and isVowel(s[-1])): return 'Valid' return 'Invalid' def main(): #input stirng s = input() #function calling print(checkStartEndVowel(s)) if __name__ == '__main__': main() Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
