demo_set_loop.py:
➜ begtut>python demo_set_loop.py
banana
cherry
apple