Question: Would like the code for this! Thanks :) QUESTION 2 (5 MARKs) Write a program which generates a random six letter word. Name your program

 Would like the code for this! Thanks :) QUESTION 2 (5

Would like the code for this!

Thanks :)

QUESTION 2 (5 MARKs) Write a program which generates a random six letter word. Name your program file YourUsernameA102.py', e.g., afer023A102.py. All the letters of the random word at odd positions (1, 3, 5) should be consonants and all the letters at even positions (2, 4, 6) should be vowels, e.g., dubifa, kaxobi, lofeda, suvako. This way of creating the word makes the word pronounceable. Below are the consonants and vowels which are allowed for the random word. Paste these two statements into your program consonants - "bcdfghjklmnprstvwz'" vowels - "aeiou" The six letter word which is generated is displayed within two rows of 16 stars and the word is centred. As well, there is a blank line before the first line of stars and a blank line after the last line of stars. Below are three different example outputs obtained by executing the completed program three times. Note that the same letter may appear more than once in the random word which is generated keliba suvako tofilu

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!