Free learning
Lessons you can read without signing in, with practice that is checked instantly. The full learning path, saved progress and Null, the AI mentor, come with a free account.
The Python execution model
How a Python program runs step by step, what the program state holds at a given moment, and how to follow it with a variable table.
Level: Beginner · Free, no sign-in required
What you will learn
- Say which statement of a short program runs in which step.
- Write down a program's variable table step by step.
- Predict the result of assignments before you run the code.
Lessons
- Execution orderAvailable with an account
- Program state and the variable tablePublic lesson
- Right side first: assignment and rebindingAvailable with an account
- Output and side effectsAvailable with an account