Try this exercise. Click the correct answer from the options.
Which of the functions are the part of the iterator protocol?
Click the option that best answers the question.
- print()
- next()
- iter()
- Both next() & iter()
Which of the functions are the part of the iterator protocol?