Trace Table

main.py
Trace Table
Ready

🐍 Python is loading…

Free · No login required

Trace Table Visualiser

Step through Python code one line at a time and watch variable values change β€” built for teaching exam-style trace tables.

How to use it

  • Pick an example or write your own code, then press Run.
  • Use β—„ β–Ί or the arrow keys to step through line by line.
  • Space pauses and resumes automatic playback.
  • Turn Compact off to see a row for every step, or on for the exam-style merged layout.
  • Export CSV downloads the completed table.
Try Python Coach β€” structured lessons →

Free trace table tool for GCSE Computer Science

The gap between "I understand the code" and "I can trace through it on paper" is where exam marks are lost. This tool closes that gap β€” students step through code one line at a time and watch variable values change exactly as they would on an exam mark scheme.

See what the code actually does

Not what students think it does. Not what it looks like it should do. What it does. Step through a loop iteration by iteration and the logic that seemed obvious in explanation becomes undeniable on screen.

Built for exam technique

The compact layout matches the format students encounter in AQA, OCR, and Edexcel papers. Export the completed table as a CSV, or project it in class and work through it together. The tool does the bookkeeping β€” you do the teaching.

Want structured Python lessons alongside the tool?

Python Coach includes 27 lessons and 195 challenges β€” from a first print statement through to functions and file handling, all mapped to the GCSE specification.

GCSE revision guides

Trace tables β€” GCSE guide →