Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

******PYTHON******** In part A you are asked to write the pseudocode for the program. In part B you are asked to write the syntax of

******PYTHON********

In part A you are asked to write the pseudocode for the program. In part B you are asked to write the syntax of the code for the program you outlined in the pseudocode.

Program requirements:

Accepts the user response to the prompt "What is your favorite quote from a book?"

Accepts the user repsonse to the prompt "What book was that quote from?"

Accepts the user reponse to the prompt "What page was that quote from?"

Count the number of upper case letters

Count the total number of characters

Dispaly "This includes 'dog' in the quote" if the quote includes the three characters to form the series of characters dog any place in the quote.

Use a loop

Print the total number of characters

Example Input:

What is your favorite quote from a book?: Whatever its immediate consequences, the Paramount decision launched a transformation of American film as cultural institution, throwing the industry back into the open state it had emerged from in the 1920s. What book was that quote from?: The Master Switch, The Rise and Fall of Information Empires What page was that quote from?: 179

Example Output displayed to a user:

The quote "Whatever its immediate consequences, the Paramount decision launched a transformation of American film as cultural institution, throwing the industry back into the open state it had emerged from in the 1920s." comes from the book The Master Switch, The Rise and Fall of Information Empires and is located on page 179.

Upper Case count:3 Number of characters in the quote: 208

Thank you for your quote, this is a very good quote!

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

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions

Question

What should Dons next steps be? FPE.*

Answered: 1 week ago

Question

What is operatiing system?

Answered: 1 week ago