Submission error – invalid syntax line 104 (Week 4 assignment)

Hi,

I completed the Week 4 assignment (Handling Complex Images), and all unit tests passed successfully.

However, when I submit, I get this error:

invalid syntax (, line 104)

I have already:

  • Restarted kernel
  • Run all cells again
  • Saved the notebook before submitting

Still facing the issue.

Could someone help me identify what might be wrong?

Thanks!

Two tips:

  • Look on the lines before where the syntax is flagged. That’s where you’ll find the error.

  • Note that the grader does not like having isolated code on a line by itself.
    So if you have a closing parenthesis on a line alone, move it to the end of the previous line.