Aug-15-2020, 07:48 PM
Your question seems a bit scattered. There's no mention of rotation in your question, but then you say some part of it isn't working.
But the second sublist is rotated because that's the one that is fed to the rotation function.
l is
l[1] is the second element:
You rotate (only) the second one because of line 6:
But the second sublist is rotated because that's the one that is fed to the rotation function.
l is
[[1,2,3],[1,2,3]]
l[1] is the second element:
[1,2,3]
You rotate (only) the second one because of line 6:
rotateRx4(l[1])