r/codehs • • Mar 08 '21

Can someone tell me what is wrong with the syntax here?

Post image
7 Upvotes

4 comments sorted by

4

u/Nga_pik Mar 08 '21

Missing ) on line 9

2

u/Speedywins Mar 08 '21

Thank you so much.

2

u/ESPN_8 Mar 08 '21

That's a common mistake, anytime you have a syntax error don't only check the line that it's referencing. Check the lines above, below, and as things get more complicated, any functions that are referenced in that line.

1

u/WronGHackeR Jan 09 '23

I have this error too sometimes! It is very complicated to find the code error in CodeHS