You are viewing a single comment's thread. Return to all comments →
if __name__ == '__main__': a1, a2, a3 = [1, 2, 3], [2, 3, 4], [1, 1, 1] b1, b2, b3 = [4, 5, 6], [7, 8, 9], [4, 5, 7] c1, c2, c3 = [], [], [] for i in range(len(a1)): c1.append(a1[i] + b1[i]) c2.append(a2[i] + b2[i]) c3.append(a3[i] + b3[i]) print(*c1, sep='\n') print(*c2, sep='\n') print(*c3, sep='\n')
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 →