Hello all,
I am new at Python. Could anyone please help me do this assignment?
I face this error attached.
{moderator edit: code removed}
Plus, I don’t know where to write my code. I mean should I copy and paste: def compute_cost(x, y, w, b) and m = x.shape[0] and total_cost = 0 at the place on the cell where it is written: ###start code here####
?
Dear Kic
Many thanks for your help. Actually, you answered my second question regarding this lab (the point of For loop).
With regard to Python, I would say that I have been doing a Python course by self-study since some months ago.
Best regards