# Compute and display cost with non-zero w

Hi Guys, I have run the code properly but it is showing an error could you guys help?

Hi @Ch_Venkatesh66
Please look into your code, something is wrong with that.
because it is an assertion error. The expected value was not met.

The most common errors are:

  • using incorrect indentation
  • using wrong grouping of parenthesis
  • using += inside a for-loop and accidentally dividing by (2*m ) too many times.

But Previous codes worked well and good the test got passed too.

Thank you very much for your reply you are right.