You are viewing a single comment's thread. Return to all comments →
import numpy as np array=([1,2,3,2,3,4,1,1,1],[4,5,6,7,8,9,4,5,7]) arr=np.array(array) a=arr[0].reshape(3,3) b=arr[1].reshape(3,3) r=np.add(a,b) sum1=list(r) for i in sum1: print(*i,sep='\n')
Why is this code not working in python 3?
Seems like cookies are disabled on this browser, please enable them to open this website
Linear Algebra Foundations #1 - Matrix Addition
You are viewing a single comment's thread. Return to all comments →
Why is this code not working in python 3?