都是使用type() 方法,但其實Python 有提供isinstance() 函式,此法是較好的作法,不僅執行速度較 ... Check if names is an instance of class list
確定! 回上一頁