demo_iterator_loop2.py:
mystr = "banana" for x in mystr: print(x)
C:\Users\My Name>python demo_iterator_loop2.py
b
a
n
a
n
a