Syntax error messages

I keep getting syntax error messages even when I have checked my answers to be correct. Please how do I resolve this?

It’s hard to tell without looking at your code, but from practice this error usually appears if you forgot to put closing bracket somewhere before. Either check it yourself or copy and paste your code here.