所有的Iterable可迭代对象均可以通过内置函数iter()来转变为迭代器Iterator。__iter__( )方法是让对象可以用for … in循环遍历时找到数据对象的位置,next( ) ...
確定! 回上一頁