def inner_product(vector1, vector2):
    """
        Returns vector1 . vector2
    """
    result = 0
    for i in range(len(vector1)):
        result = result + vector1[i]*vector2[i]
    return result