C1_w2 assignment error


Please help anyone

The notebook contains “hint” sections that essentially give you the solution to these functions.

I recommend you review the “hint” areas, and compare them with your code for the compute_cost() function.

The most common error is in how your code using indentation. That’s how Python defines code execution blocks.

Other common errors include using global variables within the graded functions.

Tip: If you use the code from the “Hint” sections, do not just copy-and-paste the code you find there. The hint code has formatting errors that will make your code not run correctly.

1 Like

Thank you so much..!
one sign typing was mistaken
afterwords it went good!

1 Like