Enhance IT Interview Question

write code to rotate matrix using python o scala?