Matrix transposition: Difference between revisions

(Added an ActionScript version.)
Line 747:
(4, 16, 64, 256),
(5, 25,125, 625))
print(zip(*m))</lang>
# in Python 3.x, you would do:
# print(list(zip(*m)))</lang>
Output:
[(1, 2, 3, 4, 5),
Anonymous user