Don’t pay attention to what codecademy says whenever there’s an error message from python itself. Take care of that first.
I suggest looking up some examples of if-statements and comparing to how you’re using them.
You may also want to put your code in a second file, and add it back one small part at a time so that you know when you’ve added something that’s not making sense. This is really crude, but until you’re better at knowing what the syntax is, this can help you narrow down the problem. Additionally you can add/remove roughly half at a time, similar to how you’d look up a name in a phone book or a word in a dictionary