In [4]:
from math import pi

In [7]:
def volume_sphere(radius): 
    r = float(radius) 
    v = r ** 3 * pi * 4 / 3
    return v