Page 173 - Computer Science V2.0 Class 11
P. 173

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: Python Tutor Visualization Execution

                 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.




                                                                                             Data Types and Operators  159
   168   169   170   171   172   173   174   175   176   177   178