What does this mean

Can’t compile the student’s code. Error: IndentationError(‘unexpected indent’, (‘/tmp/student_solution_cells/cell_7.py’, 26, 8, ’ cost = 0.0\n’)

Hello @T_Goldson,

It means that some line(s) doesn’t have correct indentation. We usually use 4 spaces for one indentation level and we group lines of code into a block by putting those lines in the same indentation level. Please spend a few minutes to read this post about indentation.

Then you will need to know where the indentation error is, you can find it by going to your coursera notebook for the lab in question, click “Kernel” > “Restart & run all”, and then the code cells will be run one by one until the error shows up and there you go!