__iter___和__next__方法

__iter__方法变成一个迭代器类对象,

迭代器类要实现__next__方法

posted on 2018-02-04 15:53  黎明NB  阅读(148)  评论(0)    收藏  举报

导航