Use type(object) to return a type object. Access the __name__ attribute of the type object to get the class name. a_list = []. a_type = type(a_list).
確定! 回上一頁