Danger, Will Robinson!


#1

please can anybody explain me print board[2][3] in detail.


#2

Perhaps detailed questions are in order instead (if you want something explained, move as much effort as possible from the answer, to the question)


#3

is this an array???


#4

Is what an array?
What’s an array? Do you mean a list? Or some other object?
Anyway, it’s a print statement, no value is being defined there, so the answer is probably no, it’s not an array, it’s not a value at all.


#5

Board is a list of lists,we are printing the value in the position [2][3],this is the same as print the value in the index 3 of the third list (index 2 in the ‘big’ list)


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.