How to calculate the transpose of this without using numpy:
t = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
Just do:
t = list(zip(*t))
Output:
[(1, 4, 7), (2, 5, 8), (3, 6, 9)]