python3 有6个标准数据类型
不可变数据:
-
Number
-
String
-
Tuple
可变数据:
-
List
-
Set
-
Dictionary
Number
-
int
-
float
-
bool
-
complex
可以用type() 查看变量所指的对象类型
Number
String
Tuple
List
Set
Dictionary
int
float
bool
complex
可以用type() 查看变量所指的对象类型