Question: BlockPy: 2 B 3 . 2 ) Volume Extraction The formula for the volume of a cylinder is height * area. The formula for the
BlockPy: B Volume Extraction
The formula for the volume of a cylinder is height area. The formula for the area is PIradius Define the two functions below calculatearea and calculatevolume to use these formula to calculate the volume of a cylinder with the given radius and height. Add at least one additional unit test.
Note: It is okay to have PI inside your function definitions, even though it was defined outside. Since PI never changes its value it is a "constant" it is okay to access it out of scope.
Console:
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
