C1_W2_Linear_Regression ERROR

gETTING this error .can anyone fix?

Hi @Lokesh4 ,

The assertionError is raised because the cost returned from compute_cost() is zero, which is should be 2 if your code is correct.
Please follow the Hints and check the logic against your code. Put a print statement inside the ‘for’ loop to check what is the total cost for all the examples.