Start by putting each line (or code block) in its own Pluto cell to see which line is giving the syntax error.
Also, you have made the common mistake of using '''
rather than ```
when posting your code. That is why is does not look right in the post.
Code should look like this in a separate box.
1 Like