Just confused about one thing.
I couldn’t find any difference between 1 and 2 -> a being the list [[1,1], [1,0]]
1/ output = [i[:] for i in a]
2/ output = [i for i in a]
When i print the result its the same.
But to my surprise, this isn’t seem to work when for matrix multiplication.
But as soon as I revert the code, output = [i[:] for i in a]
this seems to work fine?
Can anybody help?
All screen shots attached.
Thanks in Advance!