def dot_prod(a, b):
    """Returns the dot vector product of two lists of numbers"""
    if type(a) is not list:
        raise ValueError(f"Incorrect parameter type: {type(a)}")
    elif type(b) is not list:
        raise ValueError(f"Incorrect parameter type: {type(b)}")
    else:
        return sum([a[i] * b[i] for i in range(len(b))])