Have you encountered problems running Python code when using mBlock Code? Don't worry! PHP editor Apple will introduce you in detail how to run Python code in mBlock. In this article, we will guide you step by step through the process of setting up the code, configuring the environment, and running the code. Read on and we'll help you figure it out!
1. First, after opening the mBlock software interface, click the Python editor button in the upper right corner
2. After the mode is loaded, click the file in the upper left corner Create a new work button under the menu
3. Then, enter the print ("Hello World!") programming code
4. Finally, click Click the Run button below and wait for the program to output the running result.
The editor has shared the method of running python code programs here. Don’t be afraid to miss it.
The above is the detailed content of How does mBlockwork run python code programs? How does mBlockwork run python code programs?. For more information, please follow other related articles on the PHP Chinese website!