Q. -i] for i in range(len(A))]

  • (A) [1, 5, 9]
  • (B) [4, 5, 6]
  • (C) [3, 5, 7]
  • (D) [2, 5, 8]
πŸ’¬ Discuss
βœ… Correct Answer: (C) [3, 5, 7]
Explanation: this expression scales the common index to fetch a[0][2], a[1][1], etc. we assume the matrix has the same number of rows and columns.

Explanation by: Mr. Dubey
this expression scales the common index to fetch a[0][2], a[1][1], etc. we assume the matrix has the same number of rows and columns.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
840
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate