Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def productomatriz(M):
- import numpy as np
- M = np.array(M)
- product = 1
- product = product * np.product(M[0])
- product = product * np.product(M[-1])
- return product
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement