怎么用Python输出hello world

时间:2024-10-11 19:14:41

1、首先使用Pycharm开发环境,打开一个Python项目。

怎么用Python输出hello world

2、在该项目下,新建一个“demo.py”源代码文件。

怎么用Python输出hello world

3、双击该文件,在右侧编辑区输入:print("hello world")。

怎么用Python输出hello world

4、在上方菜单栏中,依次点击“Run”子菜单中的“Run demo”项。

怎么用Python输出hello world

5、程序运行完成后,即可看到成功地输出hello world。

怎么用Python输出hello world
© 手抄报圈