Unq_c2 mls course 3 week 3 excercise 2 assignment

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

Dont you need to close the np.sum with another ending bracket.

Thanks my Mentor gent.spah