Question: in python 5.8 LAB: Calculate volume of a sphere Write a function def sphereVolume (r) that computes the volume of a sphere with radius r
5.8 LAB: Calculate volume of a sphere Write a function def sphereVolume (r) that computes the volume of a sphere with radius r (volume =4/3pi radius 33 ). Then write a main function that prompts the user for the value of r. Then print the output formatted so that it contains three decimai places. Ex If the input is
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
