Skip to content

Instantly share code, notes, and snippets.

@pavelpy
Created January 24, 2019 09:11
Show Gist options
  • Save pavelpy/1b2cc4d2c37e2876943ecee9604456dd to your computer and use it in GitHub Desktop.
Save pavelpy/1b2cc4d2c37e2876943ecee9604456dd to your computer and use it in GitHub Desktop.
Rotate 2d array
rotated = zip(*original[::-1])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment