Everything in Python is an object and we can examine those objects. ... my_list = [1, 2, 3] dir(my_list) # Output: ['__add__', '__class__', '__contains__', ...
確定! 回上一頁