check value vowel user input python

Solutions on MaxInterview for check value vowel user input python by the best coders in the world

showing results for - "check value vowel user input python"
Leona
03 Jul 2020
1# taking user input
2ch = input("Enter a character: ")
3
4if(ch=='A' or ch=='a' or ch=='E' or ch =='e' or ch=='I'
5 or ch=='i' or ch=='O' or ch=='o' or ch=='U' or ch=='u'):
6    print(ch, "is a Vowel")
7else:
8    print(ch, "is a Consonant")