Week 2 Practice Lab Assignment Grading Error

After submitting my Week 2 Programming Assignment on Linear Regression, I got a grade of 0% and the following message:

Cell #8. Can’t compile the student’s code. Error: SyntaxError(‘invalid syntax’, (‘/tmp/student_solution_cells/cell_8.py’, 10, 1, ‘

\n’))

Can someone please explain what has happened and how do I fix this?

Have you perhaps renamed your notebook file?

Or have you added, deleted, moved, or otherwise edited any code cells in the notebook, other than the places specifically marked for your code?

1 Like

Yes I have accidentally deleted some strings in the notebook. Is there a way that I can reset the notebook and start from scratch?

1 Like

Yes from the question mark at the top right corner you can get the latest version which resets the notebook, but you need to either rename the current one or delete it entirely!

1 Like

Thank you! I’ve been able to reset it now. Appreciate your help!

1 Like