python 3 ordered set example Example: are sets ordered in python try: a = {'a', 'b'} print(a[0]) except: print("Set are not ordered")