最佳答案:python里可以通过type()函数来查看数据类型。 Python 内置函数Python type() 函数如果你只有第一个参数则返回对象的类型,三个参数返回新的类型对象。参数name:类的名称。b
python里可以通过type()函数来查看数据类型。 Python 内置函数Python type() 函数如果你只有第一个参数则返回对象的类型,三个参数返回新的类型对象。
参数
name:类的名称。
bases:基类的元组。
dict:字典,类内定义的命名空间变量。
返回值
一个参数返回对象类型, 三个参数,返回新的类型对象。