Question: Write a program that prompts the user to enter values for the radius ( float ) and height ( float ) for the right cylinder.
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 documentationLinks to an external site.. The surface area and volume should be formatted as fixedpoint numbers with decimal places using an fstring. Do not use the round function.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
