18,737 views
11 votes
11 votes
This is your code.

>>> A = [21, 'dog', 'red']
>>> B = [35, 'cat', 'blue']
>>> C= [12, 'fish', 'green']
>>> E =[A, B, C]
What is the value of E[1][0]?

User Marian Busoi
by
3.7k points

1 Answer

4 votes
4 votes

Answer:

35

Step-by-step explanation:

We will be going inside B array, because he was in second place in array E,and will be the first element of array B, so it's 35

E can be understanded as:

E=[[21, 'dog', 'red'],[35, 'cat', 'blue'],[12, 'fish', 'green']], so, you can see array E as array of arrays or so-called two-dimensional array

User Cdrrr
by
3.3k points