[W3, A1] Exercise 2- modelf Error

On the example 2 - modelf, I cannot edit the cell, showing this error.

File “”, line 7
Implement one_step_attention().
^
SyntaxError: invalid syntax

I’m not sure whether it’s my computer issue or an assignment error. I’d love to know your advice on this.

Thanks in advance.

It looks like you must have accidentally turned a “Markdown” cell into a “Code” cell. What you show is documentation, not code.

You can reset the cell type by using the menu Cell -> Cell Type -> Markdown.

If that doesn’t work, then get a clean copy using this procedure.