set = {"apple", "banana", "cherry", "Mango"}print(set[1])
Standard input is empty
Standard output is empty
Traceback (most recent call last): File "prog.py", line 2, in <module> print(set[1]) TypeError: 'set' object is not subscriptable (key 1)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!