# Vowel or Consonant
# Input a single alphabet and check whether it is a vowel or consonant.
letter=input("Please enter the letter: ")
if (letter == "a" or letter == "e" or letter == "i" or letter == "o" or letter == "u"):
print(f"{letter} is vowel ")
else:
print(f"{letter} is consonant" )
No comments:
Post a Comment