您的位置:首页 > 编程语言 > Python开发

学习Python

2015-12-02 13:06 465 查看
此为记录鄙人学习Python过程,通过查阅相关文章,决定从最新的Python3学起。

安装、helloworld就不说了。有些内容也是搬运,纯为记录自己学习过程。

step 1

快捷键:ctrl+n 新窗口

ctrl+s 保存

F5运行程序

ctrl + ] 向后缩进

ctrl + [ 向前缩进

print 输出,# 注释

example: print("hello")

# 这句是注释

input 输入

example:

>>> s = input("please input your name :")

please input your name :tang

>>> s

'tang'
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: