2012-11-25

Online Python Tutor - Learn programming by visualizing code execution

Online Python Tutor - Learn programming by visualizing code execution:


LEARN programming by visualizing code execution

Online Python Tutor is a free educational tool that helps students overcome a fundamental barrier to learning programming: understanding what happens as the computer executes each line of a program's source code. Using this tool, a teacher or student can write a Python program directly in the web browser and visualize what the computer is doing step-by-step as it executes the program.
For example, I wrote the following Python program to recursively find the sum of a linked list of numbers. Click the “Forward” button to see what happens as the computer executes one line of code at a time.