Write a python program to Find Vowels, Consonants, upper case, lower case characters in a string.
Answers
Answered by
0
Answer:
Declare and initialize two integer counter variable as int vowels=0 and consonants=0;
The user asked to enter a string to count vowels and consonants.
call the str.lower() string function to change upper case lettersto lower case letters
Explanation:
Declare and initialize two integer counter variable as int vowels=0 and consonants=0;
The user asked to enter a string to count vowels and consonants.
call the str.lower() string function to change upper case lettersto lower case letters
Similar questions