In [ ]:
from math import pi

In [ ]:
#volume_of_sphere = (((4/3) *math.pi) *5**3)

In [ ]:
#print(volume_of_sphere)

In [ ]:
math.pi 

radius = float(input('Please enter radius:'))
suface_area = 4 * math.pi * radius * radius 
volume_of_sphere = (4/3) * math.pi * radius * radius * radius 

print("\n The surface area of the sphere = %.2f" %surface_area)
print("\n The Volume of the sphere is %.2f" %volume)

In [ ]:
#Example in class:

# def volume(r):
#       if r<0:
#        return False
#    return(4/3) * pi * (r**3)
#volume(5)

In [ ]: