The best description of the structure [[0, 1, 2], [3, 4, 5], [6, 7, 8]]
is:
It is an array that consists of three other arrays.
This structure represents a two-dimensional array (or list of lists) where each inner list contains numbers.
Which statement is the best description of this structure?
[[0, 1, 2], [3, 4, 5], [6, 7, 8]]
(1 point)
Responses
It is one array consisting of numbers.
It is one array consisting of numbers.
It is an array that consists of three other arrays.
It is an array that consists of three other arrays.
It will not work in Python due to the double brackets.
It will not work in Python due to the double brackets.
It will not work in Python due to the missing comma.
It will not work in Python due to the missing comma.
Skip to navigation
page 1 of 1
1 answer
The best description of the structure [[0, 1, 2], [3, 4, 5], [6, 7, 8]]
is:
It is an array that consists of three other arrays.
This structure represents a two-dimensional array (or list of lists) where each inner list contains numbers.