Question: In python your goal is to ask the user for Nouns, Verbs, Adjectives and fit them in the text where they appear. Each word should

In python your goal is to ask the user for Nouns, Verbs, Adjectives and fit them in the text where they appear. Each word should be unique. e.g. ask the user for a Noun and replace the first appearance of [Noun] in the text below by the user input. Technical requirements:

Save the following text to a file.

Open the file and replace all the words in between [] by user inputs using .format(). (You can manually modify the text below to fit the requirements for .format()).

Use a try except block(s) to validate all the user input. Save the new text to a file.

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!