Skip to content

Commit

Permalink
Merge pull request #229 from cricketer94/master
Browse files Browse the repository at this point in the history
Add alternative transpose program in python
  • Loading branch information
wzhouwzhou authored Oct 31, 2018
2 parents a14e805 + 8283177 commit 2e2f063
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/transpose.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
trans_mat = lambda x : zip(*x)
print(trans_mat([[1,2,3],[1,2,3]]))

0 comments on commit 2e2f063

Please sign in to comment.