Question: Question 1 0 The Python program below is intended to print the volume of a cone. The user must input the radius and height for
Question
The Python program below is intended to print the volume of a cone. The user must input the radius and height for the calculation and the formula is fracpi h r where r is the radius and h is the height of the cone.
Complete the program below so that it correctly reads in the radius and height as real numbers, calculates the volume, and prints the result.
import math
radius radius inputWhat is the radius? backslash n
height height inputWhat is the height?
volume math.pi
printThe volume of your cone is
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
