For each exercise, there are two header lines like below:
which are likely also the lines missing in your submission, and you may either try to add them back, or, as you said, reset the whole notebook.
To reset, following these steps, and be reminded that in the process you will have to rename your current notebook before the system can get you a new copy, then you may copy any thing you want from the renamed one to the new one.
There is a green " Click for hints" button right below the exercise cell where you can find an answer template with more description on what are expected for the blanks. You might as well start from the template.
@Xashax007, I understand this is your first topic in this community and it is also your first MLS lab assignment, while we are absolutely happy to discuss with you , we actually would expect learners to work on the assignments themselves (for example, there should be no blanks ), and then only post error message (and not your code) here.
We would try to explain the error message, but you would have to find your way to the solution! This is the unavoidable part in learning
Lastly, if the problem in your first post has been resolved, any new problem should be posted in a new topic because this will be easier for other members of this community to join the discussion without going through unrelated posts. This is not just a communication between the two of us
By the way, @Xashax007, in case it might help, there is also an optional lab in week 1 about computing cost which could be your reference for that exercise.
Also, mind the indentation which is the number of spaces at the beginning of a line. For example, the following two marked lines should have the same indentation (eight spaces).