RE:ML C1-W2 Programming assignment

Hey @Rohan_Nanegali,

Please ensure that your compute_cost function returns a single/scalar value, and not a list/vector of values.

For the second one, I think the error is pretty straight-forward. You have used wrong python syntax in the indicated line of code. It is supposed to be:

for i in range(m):

If you are new to Python, then check out 03 of this thread. I hope this helps.

P.S. - Posting code publicly is strictly against the community guidelines. If a mentor needs to take a look at your code, (s)he will ask you to DM it.

Cheers,
Elemento