πŸ“Š Problem Solving and Python Programming
Q. ) for col in range(3)]
  • (A) [3, 6, 9, 16, 20, 24, 35, 40, 45]
  • (B) error
  • (C) [0, 30, 60, 120, 160, 200, 300, 350, 400]
  • (D) 0
πŸ’¬ Discuss
βœ… Correct Answer: (A) [3, 6, 9, 16, 20, 24, 35, 40, 45]

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,


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