C1_W2_Linear_Regression - AssertionError: Case 1: dj_db is wrong: -10.0 != -2

{moderator edit: images of code removed}

Want to ask why dj_db is equal to (f_wb - y[i]) * x[i]) not (f_wb - y[i]) …

image

image

Since the bias is a constant, its partial derivative does not vary with x(i).

Please do not post your code on the forum, that’s not allowed by the Code of Conduct.
I have edited your post to remove the code.