如题所述
python中数据类型
1、字符串 str
2、布尔类型 bool
3、整数 int
4、浮点数 float
5、数字 (int和float)
6、列表 list
7、元组 tuple
8、字典 dict
9、日期 date
其中列表和字典是可变类型,其余的为不可变类型。