Object (物件)有使用__iter__() 或是__getitem__() method (方法). 基本上可以被for loop 存取的objects 都是Iterable. Iterator:只要有__iter__ 與__ ...
確定! 回上一頁