Error in syntax of API key

I tried to run a project on Bolt Python Library. I’m unable to locate the error in the code. It comes as a syntax error for API key.

The key should be written within " "(Inverted commas). That’s why you’re getting a syntax error.

In the above code we are passing variable api_key as string. Hence there should be inverted commas at the either side of your API key, that will solve the error.