数据类型:
一、不可变类型:
bool 布尔型 True False
int 整型
float 浮点型
complex 复数
str 字符型
tuple 元组
frozenset 固定集合
bytes 字节串
二、可变类型:
list 列表
dict 字典
set 集合
bytearray 字节数组
数值类型:
整型 int 浮点型 float 布尔型 bool 复数类型 complex Nonetype空值 None
其中,None比较特殊, 它既不是0,也不是False,也不是空字符串。它只是一个空值的对象,也就是一个空的对象,只是没有赋值而已。