I need to create a function to rotate a given matrix (list of lists) clockwise, and I need to use it in my Table class. Where should I put this utility function (called rotateMatrixClockwise) so I can call it easily from within a function in my Table class?
I need to create a function to rotate a given matrix (list of lists)
Share
If you don’t want to make it a member of the
Tableclass you could put it into autilitiesmodule.