nameList = ['Harsh', 'Pratik', 'Bob', 'Dhruv'] print(nameList[1][-1])
Standard input is empty
k
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!