a = [1, 3, 'abc', 7, "xyz"]print a[3]print a[1:3]
Standard input is empty
7 [3, 'abc']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!