I just came over from Stack Overflow after getting question banned, so I have no idea how you guys will like me, but here goes. I have a 16x16 matrix, and I'm trying to move the columns to the right.
What I have tried:
Here's how I have it right now:
m =
for i in m:
i[0], i[1], i[2], ... , i[14], i[15] = i[15], i[0], i[1], ... , i[13], i[14]
This just loops through all the rows and moves everything to the right. But, as you can see, it's really long. Is there a shorter way to do this? preferably without numpy, Thanks!