import math


def euclidean_distance(a, b):
    """
    euclidean_distance calculates the Euclidean distance between points a and b
    :param a: index of point a
    :param b: index of point b
    :return: Euclidean distance between a and b
    """
    distance_squared = 0
    for index in zip(a, b):
        distance_squared += (index[0] - index[1]) ** 2
    return math.sqrt(distance_squared)