Hard
Rotate a Grid 90°
Read r rows of numbers (all the same length). Print the grid rotated 90° clockwise, built with one nested list comprehension.
Input
r, then r rows.
Output
Lines.
Sample 1
Input
3 1 2 3 4 5 6 7 8 9
Output
7 4 1 8 5 2 9 6 3
Sample 2
Input
1 1 2 3
Output
1 2 3
Output appears here