python输出hello world代码的方法:首先打开IDLE;然后进入python 3.7.2 shell;最后在界面中输入“print("hello world")”单击回车即可。

本文操作环境:windows7系统、python3.7.2版,DELL G3电脑

打开IDLE;

3608b90a35cf0171ffc67dd4c637ece.png

进入python 3.7.2 shell;

71536fbfa72e81b1e799a8bc33d8639.png

在界面中输入print("hello world")单击回车;

f0e3ca89cce1b4c2b11888935cc557a.png

输出hello world;

3d2c47568f9c6ba5301253daa3529f0.png


python输出hello world代码的方法