"totor" Translated into Chinese “ To guide the ” It means , and “pythontutor” It's a way to guide Python Learning code online tool , It can help students overcome the basic obstacles in programming learning , Understand the process of each line of source code in the computer when the program is executed . Through this tool , Can be directly in Web In the browser Python Code , And visually execute the program step by step .
Go directly to the website ：http://www.pythontutor.com/visualize.html
Use steps ：
First step , Click on the website , Write code , Click on "Visualize Execution" Button , Enter the visual code execution interface .
The second step , Enter the visual execution interface , On the left is the source code , Diagram of the execution process on the right side . In turn, click "Next>" Button , Step through the code , And the execution sequence in memory is expanded in the form of flow chart .
You can also click "<<First" First step 、"Last>>" The last step ,"<Prev" The other buttons in the previous step , View the corresponding visual execution results .
Through this website , We can clearly see the process of code execution , No longer need to write comments step by step to analyze . This amazing website is for you , You can collect it well . Forget to say one more word ,“pythontutor” And support C++、Java Programming language .
This article is from WeChat official account. - Data Valley （BigDataValley）
The source and reprint of the original text are detailed in the text , If there is any infringement , Please contact the firstname.lastname@example.org Delete .
Original publication time ： 2021-01-08
Participation of this paper Tencent cloud media sharing plan , You are welcome to join us , share .