demo_iterator_loop2.py:
mystr = "banana" for x in mystr: print(x)
➜ begtut>python demo_iterator_loop2.py
b
a
n
a
n
a