Retired

Vowel Master (retired)

Description:

Write a function that takes a string of words and returns the word containing the most vowels (a, e, i, o, u). If multiple words have the same maximum number of vowels, return the first one. If the string is empty then return an empty string.

Input:

  • A string containing multiple words, separated by spaces.
  • Words contain only alphabetic characters.

Output:

  • A single word (string) containing the most vowels.

Similar Kata:

More By Author:

Check out these other kata created by iedayan03

Stats:

CreatedJan 13, 2025
Warriors Trained21
Total Skips0
Total Code Submissions126
Total Times Completed18
Python Completions18
Total Stars0
% of votes with a positive feedback rating50% of 9
Total "Very Satisfied" Votes2
Total "Somewhat Satisfied" Votes5
Total "Not Satisfied" Votes2
Total Rank Assessments10
Average Assessed Rank
7 kyu
Highest Assessed Rank
7 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • iedayan03 Avatar
Ad