DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
rotate 90 degrees clockwise counter python
new_matrix = [[m[j][i] for j in range(len(m))] for i in range(len(m[0])-1,-1,-1)]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#rotate
#degrees
#clockwise
#counter
#python
ADD COMMENT
Topic
COMMENT
Name
6+2 =
Submit