human
Write me a Python code to calculate the euclidean distance between the two points of each pair.
assistant
Here is a Python code to calculate the euclidean distance between the two points of each pair

import numpy as np

def euclidean_distance(x, y):
    """Returns the euclidean distance between the two points of each pair."""
    return np.sqrt(np.sum(np.square(x - y)))

# Enter the matrix
x = np.array([[1,2,3],[4,5,6],[7,8,9]])
y = np.array([[10,20,30],[40,50,60],[70,80,90]])

# Calling the function
print((euclidean_distance(x, y)))

#Example Output
# 151.9374871452072

#Remember to inspect code for bugs.