Which of the following Python statements will result in the output: 6?

Questions & AnswersCategory: Programming LanguageWhich of the following Python statements will result in the output: 6?
Geek Boy Staff asked 2 years ago

Which of the following Python statements will result in the output: 6?

A = [[1, 2, 3],
     [4, 5, 6],
     [7, 8, 9]]

a. A[2][1]
b. A[1][2]
c. A[3][2]
d. A[2][3]

1 Answers
Geek Boy Staff answered 2 years ago