Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

rotate 2d array

rotated = list(zip(*original[::-1]))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #rotate #array
ADD COMMENT
Topic
Name
6+8 =