On 4/01/20 5:41 am, Alan Bawden wrote:
So I was looking for a predefined object from the standard library that already /is/ an iterator (with no need to use »iter«).
Why are you so intent on introducing either next() or iter() to beginning students? I'd have thought they were somewhat advanced topics, to be tackled after your students are familiar with the basics. -- Greg -- https://mail.python.org/mailman/listinfo/python-list