zip is a nice trick but it doesn't output a matrix. The output of zip is an iterator of tuples. You can't use it for accessing elements of matrix by index. `transposed_matrix[0][0]` will raise an error `TypeError: 'zip' object is not subscriptable`pull/634/head
parent
f1bf1b61ec
commit
3f66dc7e13
Loading…
Reference in new issue