[python视频教程] lets python视频教程免费下载
链接:https://pan.baidu.com/s/1YYn_vepCtq3CcKBD-vfnuw
提取码:dxpn[python视频教程] lets python 视频教程|Lets-python-017-文件和输入输出01.avi|Lets-python-016-条件和循环02-练习题和生成器.avi|Lets-python-015-条件和循环01.avi|Lets-python-014-映射和集合02.avi|Lets-python-013-映射和集合01.avi|Lets-python-012-序列04-02.
if expression:
statement(s) 使用4个空格代替 缩进
if expression:
statement(s)
else:
statement(s)
if expression:
satement(s)
elseif expression2:
statement(s)
elseif expression3:
statement(s)
else:
statement(s)
逻辑运算符 or and not
for iteratin_var in sequence:
statements(s)
for x in range[100]: 从0到99增长
fox in in range[1,11,2]:从1到10增长,步进值2
for遍历数据
time.sleep(1)延时1秒
print "#"*5
else:
print "ending"