Multiple ChoiceIntermediate 30s
Dunder iter
Choose the best answer for: __iter__
Options
- 1__iter__ is a static method called once at creation
- 2__iter__ returns the last element stored in the container
- 3__iter__ is called by print() to render the object's text
- 4__iter__ makes an object iterable for for-loops
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.