Relative Content

Tag Archive for pythonlistmatrixmultidimensional-arraylist-comprehension

Python : Transpose a Matrix

Can someone please help me find fault in my code ?
If I create blank 2D matrix with static initial value, it returns correct transposed matrix.
Whereas if I create blank matrix using for loop, it is returning last row for all rows in the answer.