What will be the output of the following code?
list1=[[‘a’,’b’,’c’],[0,1,2,3],[23,45,67,89]]
list1[1][3]=list1[2][2]
list1[0][2]=list1[1][3]
print(list1)
Answer:
Output: [['a', 'b', 67], [0, 1, 2, 67], [23, 45, 67, 89]]