Question: Question 1: (10 points) Write well-documented Python functions for: a. sphereArea(radius): Returns the surface area of a sphere having a given radius. b. sphereVolume(radius): Returns
Question 1: (10 points) Write well-documented Python functions for:
a.
sphereArea(radius): Returns the surface area of a sphere having a given radius.
b.
sphereVolume(radius): Returns the volume of a sphere having a given radius.
Submit the functions in a module
circle.py
. Write a Python program
mainCircle.py
with a main function that imports the
module to compute and display the area and volume for spheres of radius 1,2,3 ... 10. Here assume the value of pi can
be approximated as 3.1459.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
