```
class Solution(object):
def rotate(self, matrix):
"""
:type matrix: List[List[int]]
:rtype: void Do not return anything, modify matrix in-place instead.
"""
matrix[:]=[[row[col] for row in matrix[::-1]] for col in range(len(matrix[::-1][0]))]
```