Code error in assignment1

hello guys , this code has an error although this code was written in the Jupiter , I did not wrote it , it was already there but gets error
what i have to do ???

The problem is that your compute_cost() function isn’t returning the correct data type (or size).
It must return a scalar.

1 Like