demo_set2.py:
thisset = set(("apple", "banana", "cherry")) print(thisset) # Note: the set list is unordered, so the result will display the items in a random order.
➜ begtut>python demo_set2.py
{'banana', 'cherry', 'apple'}