Get the most from each lesson's interpreted editor—the same habits transfer to VS Code, PyCharm, terminal REPL, and CI running python3 -m pytest.
Recommended workflow
- Read the concept section before editing code.
- Click Run to execute with
python3. - Use
print()for debug output. - Fix syntax errors promptly—Python stops at the first error in a statement block.
What the runner can and cannot do
- Can — single-file scripts with stdlib imports and
print() - Needs local setup — Django projects, pip-only packages, multi-file packages with relative imports
Compare workflows with JavaScript, Java, and C# tracks.
Self-check
- What function prints lines in Python lessons?
- What command runs a script locally?
Challenge
First python3 run
- Click Run with the default code.
- Confirm output appears in the terminal.
- Add a second
print()with your name.
Done when: the terminal shows the default message and your custom line.
Challenge
Verify python3 output
- Run the default program.
- Confirm output in the terminal.
- Add a deliberate indentation error and read the message.
- Fix and run again.
Done when: you see SyntaxError when appropriate and clean output after fixing.
Interview prep
- What runs code in the playground?
python3executes your script—useprint()for stdout output.