In the shell, you can't execute more than one statement at a time: >>> x = 5 y = 6 SyntaxError: multiple ...
stackoverflow.com