def vec_dotprod(vector1, vector2):
    """
    Dot product of 2 vectors

    Parameters
    ----------
    vector1 : list
        Input vector 1.
    vector2 : list
        Input vector 2.

    Returns
    -------
    dotp_res : float
        Resulting dot product.

    """
    dotp_res = sum(v1_i * v2_i for v1_i, v2_i in zip(vector1, vector2))

    return dotp_res