Page 156 - Computer Science Class 11 With Functions
P. 156
It is a graphical interface for visualising a program's execution step by step. Fig 7.10 shows the Python Tutor interface.
To get started, you need to select the Python version in the dropdown menu for the code.
Fig 7.10: Python Tutor Visualization
In Fig 7.11, we have shown an eight line code (related to the discussion above), in the text box in PythonTutor. Note
that the lines of code are numbered.
Fig 7.11
Fig 7.11 Python Tutor Visualization execution, as shown in Fig 7.12. The forward and back buttons are used to move
one step forward or backwards while visualising stepwise execution. To edit the code at any moment, just click Edit
this code icon.
154 Touchpad Computer Science-XI

