Computer Science, asked by rushitajain07, 5 months ago

write a python program to check whether an alphabet entered by the user is vowel or consonant. (use if... else) ​

Answers

Answered by rohaanshaikh71
0

Answer:

okkkkkkkkkkkkkkkkkkk

Answered by terrificdatabytes
5

Answer:

A python program to check whether an alphabet entered by the user is vowel or consonant.

Explanation:

l = input("Input a letter of the alphabet: ")

if l in ('a', 'e', 'i', 'o', 'u'):

print("%s is a vowel." % l)

elif l == 'y':

print("Sometimes letter y stand for vowel, sometimes stand for consonant.")

else:

print("%s is a consonant." % l)

Similar questions