matrix = [['*','*','*'],
['*','*','*']]
t_matrix = [['*','*'],
['*','*'],
['*','*']]
print(list(zip(*matrix)))
[('*', '*'), ('*', '*'), ('*', '*')]
The above is what happens.
I want the matrix
to look like t_matrix
, but it doesn't. How can I do the transposition?