Question: (PYTHON) Write a function called sphere_volume that accepts a radius as a parameter and returns the volume of a sphere with those dimensions. For example,
(PYTHON) Write a function called sphere_volume that accepts a radius as a parameter and returns the volume of a sphere with those dimensions. For example, the call sphere_volume(2.0) should return roughly 33.510321638291124. The formula for the volume of a sphere with radius r is the following: volume= 4/3r3.Ask the user to enter the radius of a sphere.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
