List1 = [[1,2,4],[5,6,7],[8,9,10]] List1 [0][1] = 2
for i in list1: print((i)[0][1])
output : TypeError: 'int' object is not subscriptable Shall we get the same result or not, if not why?
2.1m questions
2.1m answers
60 comments
57.0k users