Suggest me how could i proceed further for this

Your compute_gradient() function doesn’t work correctly. There is no purpose in grading the assignment if it is failing the unit tests.

The first thing to check is if you have all of the indentation correct. Python is very specific about using indentation to form blocks of code.