What will be the output of the following Python code?
A = [[1, 2, 3],
[4, 5, 6],
[7, 8, 9]]
[A[i][len(A)-1-i] for i in range(len(A))]
A = [[1, 2, 3],
[4, 5, 6],
[7, 8, 9]]
[A[i][len(A)-1-i] for i in range(len(A))]
A. [1, 5, 9]
B. [4, 5, 6]
C. [3, 5, 7]
D. [2, 5, 8]
Answer: Option C
Join The Discussion