Assertion Error - C1_W2_Linear_Regression

hi @muhammadannas

See the below thread comment which will help you understand where your code must have gone incorrect

Your code for cost is incorrect for the ith example, refer the below screenshot where it mentions the right code.

Regards
DP