What will be the output of the following Python code?
l=[[1, 2, 3], [4, 5, 6]]
for i in range(len(l)):
for j in range(len(l[i])):
l[i][j]+=10
l
l=[[1, 2, 3], [4, 5, 6]]
for i in range(len(l)):
for j in range(len(l[i])):
l[i][j]+=10
l
A. No output
B. Error
C. [[1, 2, 3], [4, 5, 6]]
D. [[11, 12, 13], [14, 15, 16]]
Answer: Option D
Join The Discussion