Syntax error in custom recipe generator

I am unable to pin point the syntax error in my code for a custom recipe generator using got turbo 3.5 please help with the same

Hi @avantikay1,

You need to add a colon at the end of line 5 for the Define function syntax

Here is the correct syntax:

def generate_tutorial(components):

Let us know if you face any other issues

There are some issues in the code:

  1. First of all write a colon ’ : ’ at the end of line of 5 as shown below:

  2. Next, fix the indentation for generate_tutorial function, i.e. add 1 tab-space after line 5 to each line below it until line 13.

  3. Include the code on line 11 and 12 inside the messages list, after adding a comma ( , ) at the end of line 9

Hopefully this helps!

I guess, you forgot to mention that he has to enclose line 11, 12 in curly braces while including them in messages.