Question: using python and for and while loops with if statements Exercise # 4: Write a program that generates a random word made of 4 consonants

using python and for and while loops with if statements
Exercise \# 4: Write a program that generates a random word made of 4 consonants and 4 vowels. Each randomly selected consonant is followed by a randomly selected vowel. Use the alphabet string given in Exercise 3 to create one string containing consonants and another one containing vowels. Use them for selecting the consonants and vowels. Hint: use randint function to generate a random index to be used to randomly select the consonant and vowel
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
