write a Python program to check the given character is vowel or not
Answers
Answered by
7
Answer:
if(ch == 'a' or ch == 'e' or ch == 'i' or ch == 'o' or ch == 'u' or ch == 'A'
or ch == 'E' or ch == 'I' or ch == 'O' or ch == 'U'):
print("The Given Character ", ch, "is a Vowel")
else:
print("The Given Character ", ch, "is a Consonant")
Similar questions
Computer Science,
6 months ago
Math,
6 months ago
Math,
6 months ago
Political Science,
11 months ago
English,
11 months ago