# Revision history [back]

### how to get hints on fixing silly syntax errors

Hi, I just spent half an hour on these two commands.

def mov():
P=matrix(QQ,[[1, 1],[0, 1]]);
show(P)


I retyped them, I moved them in different cells, nothing, I get syntax error.

"<ipython-input-76-049764d5c40b>", line 1
def mov() :
^
SyntaxError: invalid syntax


It works as long as I do not try to make a function