Stuck with Exercise 5- Week 2

I am getting a syntax error while running the cell for grads.

File “”, line 42
dw = 1/m * np.dot(X,(A-Y).T)
^
SyntaxError: invalid syntax

kindly assist. thank you

Don’t have the exercise code in front of me to confirm, but we often see those error messages when there is a problem with indentation. Is that line of code inside a defined function or a loop? If so, be sure to indent accordingly. From the post above it looks left justified.