Explanation: in the code shown above, we have used list comprehension to combine values of multiple matrices. we have multiplied the elements of the matrix b with that of the matrix a, in the range(3). hence the output of this code is: [3, 6, 9, 16, 20, 24,
Q. ) for col in range(3)]
β
Correct Answer: (A)
[3, 6, 9, 16, 20, 24, 35, 40, 45]
Explanation by: Mr. Dubey
in the code shown above, we have used list comprehension to combine values of multiple matrices. we have multiplied the elements of the matrix b with that of the matrix a, in the range(3). hence the output of this code is: [3, 6, 9, 16, 20, 24,
Discussion
Question Analytics
88
Total Visits
2 y ago
Published
Mr. Dubey
Publisher
98%
Success Rate