Invalid syntax and other problems

I am getting the "SyntaxError: invalid syntax" for a lot of commands on my Pycharm. The problem is I know the syntax is not wrong as I just copied them from the JetBrains Academy website. I am also getting the syntax error with using f-strings and my "print" command no longer auto completes the (). Can anyone tell me what is going on? Greatly appreciated! Below is the screenprint of the problem.
 
I am running it on an Intel Mac mini. 
0
1 comment

Hi, 

The error in this case comes from the interpreter, not from IDE. However, I can't spot the error at a glance. Could you please provide the problematic .py file so I could test it?

You can use uploading service at https://uploads.jetbrains.com/ , and provide upload ID in your reply.

0

Please sign in to leave a comment.