1.求出下列逻辑语句的值。
1), 8 or 3 and 4 or 2 and 0 or 9 and 7
2), 0 or 2 and 3 and 4 or 6 and 0 or 3
3), 5 and 9 or 10 and 2 or 3 and 5 or 4 or 5
2.下列结果是什么?
1), 6 or 2 > 1 ## 6
2), 3 or 2 > 1 ## 3
3), 0 or 5 < 4 ## Flase
4), 5 < 4 or 3 ## 3
5), 2 > 1 or 6 ## 2
6), 3 and 2 > 1 ## True
7), 0 and 3 > 1 ## 0
8), 2 > 1 and 3 ## 3
9), 3 > 1 and 0 ## 0
10), 3 > 1 and 2 or 2 < 3 and 3 and 4 or 3 >2 ## 2
4. 简述变量命名规范
5. name = input(">>>" )name 变量是什么数据类型?
6. if 条件语句的基本结构?
7. while 循环语句基本结构?
8. 写代码: 计算 1 - 2 + 3 …+ 99 中除了88意外所有数的总和?
9. 简述 ascii、unicode、utf-8 编码关系?
10. 简述位和字节的关系?