'Python - Access items of a Set by index

So I created a set and I need to get items of that set with index like

myList = {Baseball,Basketball,Football}
print(myList.getitem(3)) #this should print item 3 of myList

Can anyone help me?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source