Why does the IPython REPL tell me “SyntaxError: unexpected EOF while parsing” as I input the code?
The SyntaxError: unexpected EOF while parsing means that the end of your source code was reached before all code blocks were completed. A code block starts with a statement like for i in range(100): and requires at least one line afterwards that contains code that should be in it. It seems like you were executing … Read more