python and using IDLE When prompting the user you must always include text which lets the user
Fantastic news! We've Found the answer you've been seeking!
Question:
python and using IDLE
Transcribed Image Text:
When prompting the user you must always include text which lets the user know what should be inputted. The surface area and volume of a right cylinder are calculated using the following formulas: Right cylinder Solve for surface area- A = 2h+2 1 Radus Enter value h Height Enter value Right cylinder Solve for volume V = 1 Radun h Height Enter value Enter value Write a program that prompts the user to enter values for the radius (float) and height (float) for the right cylinder. The program should calculate and display the surface area and volume of the right cylinder. Use the Python defined constant for pi. Here is link to the constant in the Python documentation . The surface area and volume should be formatted as fixed-point numbers with 4 decimal places using an f-string. Do not use the round function. When prompting the user you must always include text which lets the user know what should be inputted. The surface area and volume of a right cylinder are calculated using the following formulas: Right cylinder Solve for surface area- A = 2h+2 1 Radus Enter value h Height Enter value Right cylinder Solve for volume V = 1 Radun h Height Enter value Enter value Write a program that prompts the user to enter values for the radius (float) and height (float) for the right cylinder. The program should calculate and display the surface area and volume of the right cylinder. Use the Python defined constant for pi. Here is link to the constant in the Python documentation . The surface area and volume should be formatted as fixed-point numbers with 4 decimal places using an f-string. Do not use the round function.
Expert Answer:
Answer rating: 100% (QA)
trialpy CUsersSilaAppDataLocalProgramsPythonPython39trialpy 3913 File Ed... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
Determine the order of growth of the running time of this statement in ThreeSum as a function of the number of integers \(n\) on standard input: int[] a = StdIn. readA11Ints(); Answer: Linear. The...
-
For the cycle of Problem 9.43, find the cycle thermal efficiency using respective turbine and compressor efficiencies of a) 92% and 85%, b) 87% and 80%, c) 83% and 75%.
-
Saras Beauty Salon keeps a $100 change fund. At the end of the day, sales per the register tape were $885, and the cash count was $992. What is the amount of the cash shortage or overage? a. $7 over...
-
Daphne Brown-Wright worked as a teacher for East St. Louis School District 189 from 1975 until 1998 and then returned as an administrator from 2002 until 2012, thus serving the District for 33...
-
The Colson Company issued $300,000 of 10% bonds on January 1, 2011. The bonds are due January 1, 2016, with interest payable each July 1 and January 1. The bonds are issued at face value. Prepare...
-
1) John was in Miami, he visited his investment house and invested a total of US$12,000, a fraction at 4% and the remainder at 6%. His total annual return would be $620. How much did he invest at...
-
Q01-J. Which project would be compatible with the use of the agile approach? Select one: O a. Projects with inexperienced and dispersed teams O b. Projects with clear-up front requirements O ....
-
This Module's chapters discuss "Economies of scale". What is this concept? How would it relate to a hospital or a hospital system and then how would that differ from a smaller private practice site?
-
to asses wheteher a governmental action has infringed on an individuals rights, the court_____: will always grant the government the ability to do whatever it deem necessary, must balance the...
-
Assume a closed economy, perfectly elastic labor supply, and linear technology. Suppose the incremental capital-output ratio (ICOR) is 3, the depreciation rate is 3%, and the gross savings rate is...
-
1. Do you think that the Federal Consumer Protection Agency is striking the right balance between business and consumers? Provide examples to support your views? 2. Do you think that our Antitrust...
-
What do Christ and His church have to do with philosophy, if anything?First, be sure to follow the First Act of the Mind by identifying and defining the pivotal terms in the question. Second, do your...
-
For the equations x+y = 4, 2x-2y = 4, draw the row picture (two intersecting lines) and the column picture (combination of two columns equal to the column vector (4,4) on the right side).
-
The Alert Company is a closely held investment-services group that has been very successful over the past five years, consistently providing most members of the top management group with 50% bonuses....
-
Make up an original problem using the concepts presented in Section ______ (your instructor will specify the section). Extra credit will be given if you obtain and use real data from the literature.
-
Consider the catalytic reaction as a function of the initial partial pressures 2AB+C The rate of disappearance of species A was obtained in a differential reactor and is shown below. Three graphs...
-
The following E(t) curve was obtained from a tracer test on a reactor. E(t)=0.25t0
-
Consider the following cash flow profile, and assume MARR is 10 percent/year and the finance rate is 4 percent/year. a. Determine the MIRR for this project. b. Is this project economically...
-
Consider the following cash flow profile and assume MARR is 10 percent/year and the finance rate is 4 percent/year. a. Determine the MIRR for this project. b. Is this project economically attractive?...
-
A university pumps its water from wells located on campus. The falling water table has caused pumping costs to increase, the quantity of water available to decrease, and the quality of water to...
Study smarter with the SolutionInn App