Question: PYTHON-- COMPUTER PROGRAMMING QUESTION: Given sphere_radius and pi, compute the volume of a sphere and assign to sphere_volume. Volume of sphere = (4.0 / 3.0)
PYTHON-- COMPUTER PROGRAMMING QUESTION:
Given sphere_radius and pi, compute the volume of a sphere and assign to sphere_volume. Volume of sphere = (4.0 / 3.0) r3 Sample output for the given program:
4.18878666667
The code that was already provided was this:
pi = 3.14159 sphere_radius = 1.0 sphere_volume = 0.0
'''Your solution goes here'''
print(sphere_volume)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
