Question: Write Python code that generates random sentences. The code must start by initializing a list of the words that we expect to see in the
Write Python code that generates random sentences. The code must start by initializing a list of the words that we expect to see in the sentences. The code has a While loop that generate a new sentence if the user enters 'y' and exits the loop if the user enters 'n'. The code uses another, nested, While loop to have the user try again if they do not enter a 'y' or an 'n' when prompted.need help ASAP!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
