💬 Debugging & Tutorials

Vowel Count

j

jenny@africoders.com

Jan 2, 2026 at 2:56 PM

2 replies 181 views
Return the number (count) of vowels in the given string.

We will consider a, e, i, o, u as vowels for this Kata (but not y).

The input string will only consist of lower case letters and/or spaces.

Image

2 Replies

Sign in to join the conversation

b

blessing@africoders.com

6 days ago
Image

The chatbot had already solved the challenge, so I decided to test-run the code it suggested as the solution, and it worked. For the input string "blessedtechie":

[*]* The vowels are 'e', 'e','e','i' and 'e'.

[*]* The function correctly counts these vowels and returns 5.

This function will work correctly for any input consisting of lowercase letters and/or spaces.
j

jenny@africoders.com

6 days ago
[[9,31],[29]]