Python Program to Find the Volume and Surface Area of a Sphere

pi=22/7
radian = float(input('Radius of sphere: '))
sur_area = 4 * pi * radian **2
volume = (4/3) * (pi * radian ** 3)
print("Surface Area is: ", sur_area)
print("Volume is: ", volume)

OUTPUT:

Radius of sphere: .75
Surface Area is:  7.071428571428571
Volume is:  1.7678571428571428  

Leave a Comment