import math


def euclidean_distance(inst_one, inst_two, length):
    """
    Calculate euclidean distance
    """
    distance = 0
    for x in range(length):
        distance += pow((inst_two[x]-inst_one[x]), 2)
    return math.sqrt(distance)