from typing import List


def rot(matrix: List[List]) -> List[List]:
    """Rotate a python matrix (list of list) clockwise by 90 degree without numpy
    https://stackoverflow.com/questions/8421337/rotating-a-two-dimensional-matrix-in-python
    """
    return list(map(list, zip(*matrix[::-1])))