Python program to calculate the radius of a sphere whose area is given

it computer guruji

Write a program in python to calculate the radius of a sphere whose area is given

----------------------------------------------

import math
area = float(input("Enter area of sphere : "))
r = math.sqrt(area / (4 * math.pi))
print("Radius of sphere are : ", r)

----------------------------------------------
Output-

Enter area of sphere : 250.5644
Radius of sphere are :  4.4653422502007

Post a Comment

0 Comments