LearnPy Hub
← Regular Expressions problems
Easy

Count Vowels With findall

Use re.findall(r'[aeiou]', text, re.IGNORECASE) to count the vowels in the line.

Input

One line.

Output

One integer.

Sample 1

Input
Hello World
Output
3

Sample 2

Input
rhythm
Output
0
solution.py
Output appears here
Count Vowels With findall · Python practice problem · LearnPy Hub