python第一个程序之hello word

 时间:2026-02-20 21:24:09

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

python第一个程序之hello word

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

python第一个程序之hello word

python第一个程序之hello word

3、保存退出,在命令行中输入执行文件:“python hello_word.py”

如照片所示打印出hello word!!

python第一个程序之hello word

python第一个程序之hello word

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

python第一个程序之hello word

python第一个程序之hello word

  • 传递正能量:解除负面情绪
  • PPT幻灯片插入公式的教程
  • 将相对地址变为绝对地址的快捷键怎么用
  • word怎样邮件合并
  • ppt如何添加虚尾的箭头形状?
  • 热门搜索
    苹果手机怎么升级 比度克怎么样 笔记本怎么加内存条 科龙空调质量怎么样 cfg文件怎么打开 怎么读英语单词 两个月没来月经怎么回事 宫保鸡丁怎么做好吃 怎么清理c盘空间 脚底脱皮是怎么回事