How to deal with invalid syntax in week 2

When I do my week2 project, I coded :

(Moderator edit: code removed)

and in the last line it returns an invalid syntax.
What’s wrong ?

Hello @rdf5skbz8x! I hope you are doing well.

This post answered your question.

Note: Kindly delete the code you shared as this is against the community Honor Code.

Best,
Saif.

When you get a syntax error at the beginning of a line, the place to look is at the previous line. Do the parentheses match? It looks like they don’t on the previous line.

Thank you very much! It turns out that I forgot an “)” :smiling_face_with_tear: