1.去网站download菜单下载自己操作系统对应的安装包Welcome to Python.orgwww.python.org
2.小熊AI自己的系统是mac 并且选择了目前最新稳定版是3.6.4
3.点击下一步下一步安装binggo~
4.python 3.6.4shell 里输入hello word
>>> WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable.
Visit IDLE and tkinter with Tcl/Tk on macOS for current information.
print "hello word"
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("hello word")?①
>>> print"hello word"
SyntaxError: invalid syntax②
>>> print("hello world")
hello world
4.简单计算
>>> a=1
>>> b=2
>>> a+b
3
>>> 5+3
8
>>> 4*2333333
9333332
>>> 2333333333*23333333333
54444444435888888889
5.
>>> "cat"+"dog"
'catdog'
>>> "hello"*233
'hellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohellohello'
tips 小熊目前学习的书是<父与子编程之旅>,比较简单,大神轻拍.
为了监督自己每天的学习进度所有在知乎专栏开始直播学习.
①句法错误,丢失()
②句法错误,不存在的句法