193k views
18 votes
This is your code.

>>> a = [5, 10, 15]
>>> b = [2, 4, 6]
>>> c = [11, 33, 55]
>>> d = [a, b, c]
d[2][1] is ___.

1 Answer

4 votes

Construct d

  • d=[[5,10,15],[2,4,6],[11,33,55]]

So

d[2] is c i.e [11,33,55]

d[2][1]=c[1]

So it's 33

User MarvelTracker
by
3.3k points