Course1 week2 practice lab

My code to compute cost in the linear regression practice lab for course 1 week2 is giving this error:
“AssertionError: Case 2: Cost must be 2 but got 0”

Please how do I rectify it?
Thanks as I anticipate response.

Your code does not compute the cost correctly.