Question: The surface area of a sphere is calculated using the formula , where r is the sphere's radius. Given variable sphere_radius read from input and
The surface area of a sphere is calculated using the formula , where r is the sphere's radius. Given variable sphere_radius read from input and constant PI, compute the surface area of a sphere and assign sphere_surface with the surface area. PI = 3.14159 sphere_radius = float(input()) ''' Your code goes here ''' print(f'Surface area of a sphere: {sphere_surface:.2f}')
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
