Hi,
Only the code that needs to be changed to pass the assignment will be editable and between comment sections:
### Start Code Here ###
### End Code Here ###
The cell that is being shown is testing the code in “compute_cost” And the error represents a problem with that code.
I suggest going over the code in compute_cost and if there are questions you can send it to me in a direct message and I’ll take a look.