← Problem library

Loops · Python

Count Vowels

EasyLoopsUnsolved

Problem

Return how many characters in text are a, e, i, o, or u.

Example input

text = 'CodeStreak'

Example output

4

Constraints

0 <= len(text) <= 10,000

Python workspace

Reset code

Execution uses a timed child process in a temporary directory. It is development-only isolation, not a production sandbox.