wap to find total number of vowels, digits and other characters in string ? write the whole coding part for this program in python . I 'll mark it as the brainliest answer.
Answers
Answered by
0
Answer:
To count the number of vowels in a given sentence:
- Read a sentence from the user.
- Create a variable (count) initialize it with 0;
- Compare each character in the sentence with the characters {'a', 'e', 'i', 'o', 'u' }
- If a match occurs increment the count.
- Finally print count.
Explanation:
Hope it may help you..
Similar questions