What would be the output of following code:

list1 = ['physics', 'chemistry', 1997, 2000]
print "list1[1][1]: ", list1[1][1]  
print "list1[1][-1]: ", list1[1][-1] 

Posted on by