目录
[1. if ... elif ... else 语句 P62](#1. if ... elif ... else 语句 P62)
[2. True False](#2. True False)
[3. for 数值循环 in range() P69](#3. for 数值循环 in range() P69)
[4. for 遍历字符串,列表,元组,集合和字典 in obj P70](#4. for 遍历字符串,列表,元组,集合和字典 in obj P70)
[5. pass 空语句](#5. pass 空语句)
1. if ... elif ... else 语句 P62


- 每个判断语句后面要加**:**
- elif 的写法比较特别
2. True False
Python 里面的布尔值写作: True , False
3. for 数值循环 in range() P69


**range()**用于生成一系列连续的整数,多用于for循环语句中。
range(start, end, step) // 当只有一个参数时,即表示计数的计数值end


**end = " "**显式说明结束符不是默认的回车"\n", 而是空格" "。这样就可以把显示内容打印在一行里了。
4. for 遍历字符串,列表,元组,集合和字典 in obj P70


for 还可以遍历字符串里面的字符
Python里面并没有字符类型。 单个字符即是长度为1的字符串。
5. pass 空语句
pass 语句,只是占位,而不做任何事情。