C2_W2_Assignment (Exercise 5)

Got all the expected outputs, but did not get any marks in Exercise 5 which shows the following

Please help, why did I get this error and how can I make this right?

You need to use np.sum instead of sum.

1 Like