Enhance IT interview question

write code to rotate matrix using python o scala?