注意:python从3.0以后print输出变成了print();否则会出现SyntaxError: invalid syntax
python第一步:写“helloworld”
(1)print用法
>>> welcome='helloworld'
>>> print(welcome)
helloworld
>>> welcome="helloworld"
>>> print(welcome)
helloworld
(2)格式化输出整数
(3)格式化输出字符串
(4)输出列表
(5)清屏方法
python (command line)下清屏方法
python shell 下分版本和系统
在版本3.0一下可以直接用
ctrl+L
3.0以后不可以
(6)换行操作
千里之行,第一步ok!!