86. Python Program to Count the Vowels in a Word
MediumSum and count
Overview
A counter that only goes up when an if inside the loop is True.
Problem Statement
Read a word in lowercase letters and print how many vowels (a, e, i, o, u) it has. For example, for education:
Vowels: 5
Use input() with no prompt text: the tests type the input for you, and a prompt would end up in your output.
Input
One value per line, in this order. Example:
education
Output
The output for that example:
Vowels: 5
The tests try 4 different inputs.