def euclidean(x, y):
 return sqrt(sum((((a - b) ** 2) for (a, b) in zip(x, y))))

def euclidean ( x , y ) : return sqrt ( sum ( ( ( ( a - b ) ** 2 ) for ( a , b ) in zip ( x , y ) ) ) )
returns the euclidean distance between the vectors x and y .