def get_volume(low: list,
               up: list) -> float:
    """Returns the volume defined of a box defined by lower and upper limits."""
    vol = 1.0
    for i in range(len(low)):
        vol = vol * (up[i] - low[i])
    return vol