Program to find Vowels and Consonant || Conditional Statement || Python

In this we are going to see a program to check whether Character is Vowel or Consonant in Python Programming Language.


vowels = "aeiouAEIOU"
str1 = input("Enter The Any One Character : ")
if str1 in vowels:
    print("Character Is A Vowel")
else:
    print("Character Is Not A Vowel")

# Coded By DHIRAJ SHELKE


#ENJOY CODING


Post a Comment

FOR ANY DOUBTS AND ERRORS FEEL FREE TO ASK. YOUR DOUBTS WILL BE ADDRESSED ASAP

Previous Post Next Post