Pdrjl
July 2, 2025, 4:39am
1
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?
TMosh
July 2, 2025, 4:57am
2
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
Pdrjl
July 2, 2025, 6:49am
4
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
Pdrjl
July 2, 2025, 11:23pm
6
Thank you! I’ve been able to reset it now. Appreciate your help!
1 Like