⚙️Interpreter
A program that reads your code and runs it straight away, line by line.
Think of it like
Think of it like reading a recipe out loud. Each step is done as soon as it is read.
Example
Emma types print(2 + 3) into Python and presses Enter. The interpreter runs it at once and prints 5.
Why it matters
You see results at once, which makes learning and testing ideas fast.
Definition
Example code
console
$ python3
>>> print(2 + 3)
5Common mistake
Key takeaways
- 1Runs at once. No build step before running.
- 2Line by line. It reads and runs as it goes.
- 3Must be present. The interpreter is needed every run.