1、打开“vi 编辑器”(这里我使用的是Ubuntu 终端)

2、新建“hello_word.py”文件,在新弹出对话框中输入“print('hello word!!!')”


3、保存退出,在命令行中输入执行文件:“python hello_word.py”
如照片所示打印出hello word!!


1、输入python,在">>"之后输入:print("hello word!!!")


1、打开“vi 编辑器”(这里我使用的是Ubuntu 终端)

2、新建“hello_word.py”文件,在新弹出对话框中输入“print('hello word!!!')”


3、保存退出,在命令行中输入执行文件:“python hello_word.py”
如照片所示打印出hello word!!


1、输入python,在">>"之后输入:print("hello word!!!")

