Run
mySet = set(['apple', 'banana', 'cherry']) for index, item in enumerate(mySet): print(index, item)
Output