Error in C1_W2_Linear_Regression Lab

Hi Team,

I am facing the below error in C1_W2_Linear_Regression.

This is code above the error.
{moderator edit: code removed}

Please help.
RM Rajesh

Please do not post your code on the forum. That’s not allowed by the Code of Conduct.

One hint I can offer:
Division by m does not belong inside the for-loop.

Thanks. The issue was in indentation.

i have submitted my assignment but grade still 0 and shows unsubmitted what
is the problem

The grader found something in your notebook that it did not like.

You can find out what it didn’t like by:

  • Look at the grader feedback.
  • Click on the > next to each function.
  • Read the message the grader provided.