第二章 基础语法

一、基本数据类型

整形(int)

浮点数(float)

字符串(str)

布尔值(bool)——True False

判断类型:type(***)

类型转化:int('8')  str(123)  bool(123)

二、变量

变量赋值

变量命名

扫描二维码关注公众号,回复: 1408069 查看本文章

命名规范

猜你喜欢

转载自www.cnblogs.com/wcsan/p/9125974.html