Метод next
(или __next__
в Python 3) должен:
StopIteration
, когда элементов больше нет.python
Метод next
(или __next__
в Python 3) должен:
StopIteration
, когда элементов больше нет.python
Register or sign in to get access to full answers for all questions from the question bank.