Created
January 24, 2019 09:11
-
-
Save pavelpy/1b2cc4d2c37e2876943ecee9604456dd to your computer and use it in GitHub Desktop.
Rotate 2d array
This file contains 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
rotated = zip(*original[::-1]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment