Many friends expressed that they are ready to buy python software, but they don’t know how to use it? The editor below will explain to you a tutorial on how to use python. I hope that studying this tutorial can help you. How to use python? Python usage tutorial 1. Click Search in the lower left corner, enter idle, and click Open (as shown in the picture).
2. After successful startup, you can see three greater than signs appearing and a cursor flashing behind them (as shown in the picture). 3. The first program is to print. We enter print("hello") behind the cursor, so that hello can be printed on the next line (as shown in the picture). 4. Key combination alt+p: Return to the last executed command, alt+n: Return to the next command of this sentence. Simply determine whether two values are the same (as shown in the figure).The above is the detailed content of How to use python python tutorial. For more information, please follow other related articles on the PHP Chinese website!