Python今日学习要点

1. if语句

2.变量

变量命名规则:

2.1 不能以数字开头

2.2区分大小写

2.3不能以中文命名

2.4不能以保留字命名

3.input

4.字符串:string, 数值:integer。

while 循环语句

break:终止语句

continue:跳出本循环

运算符:

算术运算符:

+-*/ 指数

逻辑运算符:and, or, not.

猜你喜欢

转载自www.cnblogs.com/myda/p/9508461.html