如果要判断两个类型是否相同推荐使用isinstance()。 语法. 以下是type() 方法的语法: type(object) type(name, bases, dict). 参数.
確定! 回上一頁