adplus-dvertising
frame-decoration

Question

What will be the output?
data = [[[1, 2], [3, 4]], [[5, 6], [7, 8]]]
 
print(data[1][0][0])

a.

1

b.

2

c.

4

d.

5

Posted under Python

Answer: (d).5

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be the output?