type函数可以查看
>>> a = [1,2] >>> type(a) <type 'list'> >>> a = 4 >>> type(a) <type 'int'> >>> a = 3.2 >>> type(a) <type 'float'>