def get_slice_coord(bounds, n):
    """
    Given the bounds of an actor, return the point that
    corresponds to the n% of the bounds range
    

    :param bounds: should be a list of two floats
    :param n: n should be a float in range 0, 1

    """
    if not isinstance(bounds, (list, tuple)) or not isinstance(bounds[0], float
        ) or not isinstance(bounds[1], float):
        raise ValueError('bounds should be a list or tuple of floats: {}'.
            format(bounds))
    if not isinstance(n, (int, float)):
        raise ValueError('n should be a float')
    if n < 0 or n > 1:
        raise ValueError('n should be in range [0, 1]')
    b0, b1 = bounds
    delta = b1 - b0
    return b0 + delta * n
