RunestoneComponents
RunestoneComponents copied to clipboard
PythonTutor opens in a new tab when responding to input() statement
Found this in the FOPP book, but it will apply to any book that uses Python Tutor.
Any programming exercise that uses CodeLens and has a Python input() statement. FOPP 2.15.1 is an example.
When you run the code in CodeLens, as soon as it gets to an input() statement, it displays the input prompt, but when you enter text and click the Submit button, CodeLens causes a new tab to open up with the code displayed in PythonTutor, and the code inside CodeLens in the Runestone book does not proceed any further.
Javascript console error: unreachable code after return statement pytutor-embed.bundle.js:4537:34238