# Python program to count vowel(s) and/or consonant(s) of an input string.

string = input("Please enter a string of your choice: ")
vowels = 0
consonants = 0

for i in string:
    if (i == 'a' or i == 'e' or i == 'i' or i == 'o' or i == 'u' or
            i == 'A' or i == 'E' or i == 'I' or i == 'O' or i == 'U'):
        vowels = vowels + 1  # vowel counter is incremented by 1
    else:
        consonants = consonants + 1

# consonant counter is incremented by 1
print("The number of vowels:", vowels)
print("\nThe number of consonant:", consonants)
