PYTHON
In part A you are asked to write the pseudocode for the program.
In part B...
![subject](/tpl/images/cats/User.png)
Engineering, 03.03.2020 16:33 ejones123
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!
![ansver](/tpl/images/cats/User.png)
Answers: 3
Another question on Engineering
![question](/tpl/images/cats/User.png)
Engineering, 03.07.2019 14:10
Amass of 1.5 kg of air at 120 kpa and 24°c is contained in a gas-tight, frictionless piston-cylinder device. the air is now compressed to a final pressure of 720 kpa. during the process, heat is transferred from the air such that the temperature inside the cylinder remains constant. calculate the boundary work input during this process.
Answers: 2
![question](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:10
Aloaded platform of total mass 500 kg is supported by a dashpot and by a set of springs of effective stiffness 72 kn/m. it is observed that when the platform is depressed through a distance x = 12.5 cm below its equilibrium position and then released without any initial velocity; it reaches its equilibrium position in the shortest possible time without overshoot. find the position and velocity of the loaded platform 0.10 sec. after its release. if a further load of 400 kg is added to the platform, find, i) the frequency of damped vibrations, and i) the amplitude of vibration after 2 complete oscillations, given that the initial amplitude is 15 cm.
Answers: 1
![question](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:10
Coiled springs ought to be very strong and stiff. si3n4 is a strong, stiff material. would you select this material for a spring? explain.
Answers: 2
![question](/tpl/images/cats/User.png)
Engineering, 04.07.2019 18:10
Items are similar to the free issue items, but their access is limited. (clo5) a)-bin stock items free issue b)-bin stock controlled issue c)-critical or insurance spares d)-rebuildable spares e)-consumables
Answers: 1
You know the right answer?
Questions
![question](/tpl/images/cats/geografiya.png)
Geography, 15.01.2021 23:10
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 15.01.2021 23:10
![question](/tpl/images/cats/istoriya.png)
History, 15.01.2021 23:10
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/istoriya.png)
History, 15.01.2021 23:10
![question](/tpl/images/cats/mat.png)
Mathematics, 15.01.2021 23:10
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 15.01.2021 23:10
![question](/tpl/images/cats/mat.png)
Mathematics, 15.01.2021 23:10
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
English, 15.01.2021 23:10
![question](/tpl/images/cats/istoriya.png)
History, 15.01.2021 23:10
![question](/tpl/images/cats/mat.png)
Mathematics, 15.01.2021 23:10
![question](/tpl/images/cats/mat.png)
Mathematics, 15.01.2021 23:10
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 15.01.2021 23:10