May-26-2020, 10:51 AM
To get string 2 as output, the code should be
print(list1[1])Note the index start from zero.Also you don't need print function when using Jupiter notebook.But incase of python editors, you need to use print function to print anything