Tuesday, July 22, 2025

WTP in python - Vowel or Consonant

# 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

Complex Oracle 19c to PostgreSQL 15 Database Migration

Production-oriented migration approach for a complex Oracle 19c to PostgreSQL 15 workload , covering assessment, schema and code conversion,...