First time here? Check out the FAQ!
answered 7 years ago
L=[random_matrix(ZZ,5,5) for _ in range(1,10)]; sum(L[i] for i in range (0,9))