def get_distance(distance_matrix, seq):
    """ Function to get the distance while travelling along
    a particular sequence of cities.
    HINT : Keep adding the distances between the cities in the
    sequence by referring the distances from the distance matrix

    Parameters
    ----------
    distance_matrix : [matrix]
        [matrix of euclidien distance for each cities]
    seq : [list]
        [list of cities]

    Returns
    -------
    [float]
        [total distance from start city to end city]
    """

    total_distance = 0
    seq_length = len(seq)
    for i in range(seq_length):
        j = (i + 1)%seq_length

        I = seq[i]
        J = seq[j]

        total_distance += distance_matrix[I][J]

    return total_distance