Your Goal:
Given an odd integer input n
greater than 1, generate a random English word of length n
. An English word is one in which the odd (1-based) indices are consonants and the even (1-based) indices are vowels, the vowels being aeiou
.
Random
For the purposes of this challenge, you are to sample from the vowels and consonants uniformly, with replacement. In other words, each possible English word must be equally likely to appear as an output.
Example Inputs/Outputs
3 -> bab, tec, yiq
5 -> baron, nariz, linog
7 -> murovay, fanafim
Winner:
Winner is the Lowest Byte Count.
Upvote your Favorite one, Top 3 Upvoted will be Honorable Mentions :P