在python里面,我们经常使用isinstance和type两个内置函数来判断变量是否属于某个内建类型, ... True >>>type(b)==father False >>>type(a) instance.
確定! 回上一頁