Python新手入门系列(3)Hello World

版权声明:创作不易,转载请留出处。 https://blog.csdn.net/qq_39072607/article/details/89267455

Hello word

1.打开Pycharm
2.File->NewProject->Pure Python
新建个名为My_Project的项目
在这里插入图片描述
3.在My_Project文件夹上右键New-> Python File新建一个名为hello_world的文件
在这里插入图片描述
4.在其中输入如下两行代码,点击绿色的小三角运行。结果如图
在这里插入图片描述
下面的控制台显示出了两个hello world。
Python中想在屏幕上输出信息用print(‘你想输出的信息’)或print("你想输出的信息 ")光看没用,试一试动手敲吧。

print('hello world')
print("hello world")

猜你喜欢

转载自blog.csdn.net/qq_39072607/article/details/89267455