Use the Online Python Tutor tool to trace through code and help students visualize what the code is doing.

  • Users can step backward and forward through code in the Online Python Tutor tool to see what each line does.
    • This is very useful when debugging so users can see how their code executes differently than it was intended to.
  • The tool provides diagrams of objects and pointers, which teachers can use in their lecture slides.
  • Visit the Online Python Tutor website to try it for yourself!
  • For more information, watch Philip Guo’s CS Education Zoo interview.

More about this tip

External Source
Other Tips By