156k views
19 votes
You created a two-dimensional array with the following code.

>>> A = [21, 'dog', 'red']
>>> B = [35, 'cat', 'blue']
>>> C = [12, 'fish', 'green']
>>> E = [A, B, C]
How do you refer to 'cat'?

E[1, 2)

E[1,2]

E[1][2]

E[1,2]

2 Answers

11 votes

Step-by-step explanation:

My answer is E[1][1]

but I don't see it here

User Mortware
by
5.0k points
9 votes

Answer:

E[1][2] that is correct I just took t

User Pitt
by
5.6k points