demo_iterator2.py:
C:\Users\My Name>python demo_iterator2.py
b
a
n
a
n
a