The dir function returns a list of all the attributes and methods defined on any Python object. dir(Human) # Output: ['__class__', ...
確定! 回上一頁