Closed DonaldTsang closed 7 years ago
def rotate_clockwise(x): [list(y) for y in zip(*x[::-1])]
C_ in Pyth. I see no reason to make this a builtin.
C_
def rotate_clockwise(x): [list(y) for y in zip(*x[::-1])]