03a907a
1
2
3
def transpose(matrix: list[list[int]]) -> list[list[int]]: return [list(row) for row in zip(*matrix)]