Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

The Mad LIb:

Is your [Noun] making a mess of your [Place]? Try [Silly word]! It will [Verb] your whole [Noun] and [Verb] to unbelievable levels! Watch, as we demonstrate, the [Adjective] capabilities of this [Adjective] product! Everyone should have at least [Number] of these! To order, call the number on your screen. [Adjective] phone attendants will [Adverb] take your request. [Adjective] and [Adjective] service will be yours! Call within the next [Number] [MEASURMENT OF TIME], and you will receive a [Adjective], [Adjective], [Adjective] [Noun] as a bonus, absolutely free for an additional value of [Number] dollars, plus shipping and handling cost of [Number] dollars. Act Now!!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

3rd Edition

0071107010, 978-0071107013

More Books

Students also viewed these Databases questions

Question

2. Are my sources up to date?

Answered: 1 week ago