Python学习笔记(一)

Python is a programming language that lets you work more quickly and integrate your systems more effectively.

简明Python教程


一、第一步:Hello World

1. 使用解释器提示符

在你的操作系统中打开终端,输入python3并按enter键来打开Python提示符。

在Python解释器提示符,输入:

print("Hello World")

输入完成后按enter键。

2. 退出解释器提示符

按下[Ctrl+d]组合键或者输入exit()并回车来退出解释器提示符。