Help! There seem to be some bug in the assignment

In week 2 assignment, Exercise 5
I used undermentioned code for finding cost function

{moderator edit - solution code removed}

For dw and db i used

{moderator edit - solution code removed}

yet it shows error in the jupiter notebook
Can anyone help with the propagate function in week 2 assignment 5?

I did not have any trouble passing the tests in this notebook. I suspect you are just missing some error in your code. E.g. perhaps your A value is incorrect. What is the output you get that shows an error?

Actually there is one mistake I can see: there is a stray comma at the end of the line that computes dw. I think that will cause a problem by making dw into a python “tuple” with two elements: the actual numpy array that is the correct answer followed by “None” as the second element of the tuple.