Transpose a matrix (python list of lists)
matrix = [[1, 3, 5], [6, 7, 8], [10, 11, 12], [13, 14, 15]] [[row[i] for row in matrix] for i in range(3)]