Created
July 29, 2017 13:15
-
-
Save vedgar/985c74a79a38fc77d1e33c763c0ac288 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for i in range(len(a) >> 1): | |
| for j in range(len(a[i])+1 >> 1): | |
| a[i][j], a[j][~i], a[~i][~j], a[~j][i] = \ | |
| a[j][~i], a[~i][~j], a[~j][i], a[i][j] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment