Data science… Rotate a matrix in Python 27 Mar 2021 The other day I had a coding interview and the following question flummoxed me. You are given a list which represents a matrix as input to a function. A =…