Python 中的一切都是对象,包括整数、字符串、函数和类。因此, isinstance(a, object) 会返回你 True .但3 实际上是一个 integer ,这是一个 sub_class 创建自 object ...
確定! 回上一頁