Alphabet is Vowel or Consonant in PYTHON

Write a program (WAP) in PYTHON to read two numbers from keyboard(User Input) to know a character is vowel or consonant.
Alphabet is Vowel or Consonant in PYTHON

Write a program (WAP) in PYTHON to read two numbers from keyboard(User Input) to know a character is vowel or consonant.

c = input("Enter a character:\n")

if(c=='A' or c=='a' or c=='E' or c =='e' or c=='I'
 or c=='i' or c=='O' or c=='o' or c=='U' or c=='u'):
    print(c, "is Vowel\n")
else:
    print(c, "is Consonant\n")

Try it Yourself ➠
Must Read :-
  1. Blogger Tutorial
  2. C Programs
  3. C++ Programs
  4. Java Programs
  5. Python Programs
  6. Programming Notes 
  7. Questions & Answers
  8. My Codes : HTML, CSS & JS
  9. All Subject Notes

About the author

Sarthak Mund S3
◕‿◕कर दिखाओ कुछ ऐसा की दुनिआ करना चाहे आपके जैसा◕‿◕

2 comments

  1. info resume edge
    info resume edge
    visualcv says
    That a very valuable information, no doubt its true
    1. Sarthak Mund S3
      Sarthak Mund S3
      Admin Says :
      hihi... Thnqhhh :)