# GRADED_FUNCTION: sq_dist

# UNQ_C2

def sq_dist(a,b):

“”"

Returns the squared distance between two vectors

Args:

a (ndarray (n,)): vector with n features

b (ndarray (n,)): vector with n features

Returns:

d (float) : distance

“”"

### START CODE HERE ###

d = np.sum(np.square(a-b)

### END CODE HERE ###

return d

I got the error below.

File “”, line 15

return d

^

SyntaxError: invalid syntax

I need your help please my mentors