Posts by Wesley Barros • 37 points
1 post
-
1
votes4
answers1234
viewsQ: Python - Calculate transposed matrix
I need to calculate the transposed matrix using the python map function. But, I’m not able to solve. def transp(a): for i in range(2): for j in a: return [a[i][j]] list (map(transp,matrix)) The…