Computer Science, asked by amisha342492, 9 days ago

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 IIItzUrDewaniII
0

Answer:

To count the number of vowels in a given sentence:

  1. Read a sentence from the user.
  2. Create a variable (count) initialize it with 0;
  3. Compare each character in the sentence with the characters {'a', 'e', 'i', 'o', 'u' }
  4. If a match occurs increment the count.
  5. Finally print count.

Explanation:

Hope it may help you..

Similar questions