Explain me the background process of this code to print the output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Explain me the background process of this code to print the output

import numpy as np a=np.array([[1,2],[3,4]]) b=np.array([[2,2],[3,5]]) print(np.cross(a,b))

10th May 2020, 7:58 AM
5152Vignesh .A
5152Vignesh .A - avatar
1 Answer
0
It take each value of a lista similar when u use a loop for, but finally concat each value and print the list
11th May 2020, 5:41 PM
Liam @addliam
Liam @addliam - avatar