Have you encountered any problem on how to create a new Python program when using mBlock5 mBlock5? PHP editor Apple has specially prepared this tutorial for you, introducing the detailed steps of mBlock5 to create a new Python program. In this tutorial, you'll learn how to create a new Python project, configure your program environment, and write and run Python code. Hurry up and continue reading to explore the Python programming world of mBlock5 mBlock5!
First open mBlock5 mBlock5, click the [Python Editor] button in the upper right corner of the window to enter the Python programming mode.
#Then click [File]-[New Work] to create a new Python file.
Then enter print ("Hello World!") on the first line of the file.
Finally click the [Run] button. If the program does not report an error, the running results will be output.
The above is the detailed content of How to create a new python program in mBlock5_How to create a new python program in mBlock5. For more information, please follow other related articles on the PHP Chinese website!