demo_set_loop.py:
thisset = {"apple", "banana", "cherry"} for x in thisset: print(x)
➜ begtut>python demo_set_loop.py
banana
cherry
apple