import math


def euclidean_distance(test_data_vector, training_data_vector):
    """calculates the euclidean distance between two vectors"""
    return math.sqrt(sum([(a - b) ** 2 for a, b in zip(test_data_vector, training_data_vector)]))