Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- MatA = [
- [2, 5, 5],
- [0, 2, 0],
- [0, 8, 6]
- ]
- MatB = [
- [0, 3, 2],
- [0, 2, 0],
- [1, 7, 5]
- ]
- for x in range(0, len(MatA)):
- for y in range(0, len(MatA[0])):
- print (MatA[x][y] - MatB[x][y], end=' '),
- print ()
Add Comment
Please, Sign In to add comment