Something wrong with Practice Lab in Week 3?

I am not sure but I think that the print function uses a “F” string but there isn’t an F in front of it?
Still very new to coding and AI but please tell me if it is something with my code or the program.

Also I can’t change the code in that box.

The issue is that your code for compute_cost() has an error. This error is being detected by the cell that contains the unit test.

The error in your code’s return value is either:

  • not the correct data type, or
  • it isn’t returning a scalar floating point value.