Question: ******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

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!