MCQ Single Best Answer Difficult

QWhich of the following error occurs, if an iterator is accessed, when it has no elements?

ID: #20267 Create Objects in Python 90 views
Question Info
#20267Q ID
DifficultDifficulty
Create Objects in PythonTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A DoneIteration
  • B NoElements
  • C Exhausted
  • D StopIteration
Correct Answer: Option D

Explanation

StopIteration

Share This Question

Challenge a friend or share with your study group.