Source Code:
(back to article)
my_set = set(["apple", "banana", "cherry"]) print(my_set[0]) # TypeError: 'set' object is not subscriptable
Result:
Report an issue