Sequence Models Week1 Assignment1 - Fails with Compile Error during Grading while my Notebook passed all tests

Team, I am getting this error during grading after submission of assignment-1 of Week-1 for Sequence Models Course. All my tests have passed in the notebook, this looks wierd!! Any inputs please?

Cell #UNQ_C4. Can’t compile the student’s code. Error: SyntaxError(‘invalid syntax’, (’/tmp/student_solution_cells/cell_8.py’, 58, 24, ’ for t in range(T_x):\n’))

Thanks,
Prakash

Please ignore, looks like I have introduced a syntax error after running the tests while editing. I have submitted again after fixing it. This looks good now.

There is a syntax error in that line of code in cell #UNQ_C4 your notebook. It appears to include a newline character.

1 Like