DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CPP
python 1d array into 2d array
arr2d = [[arr1d[i+j*width] for i in range(width)] for j in range(height)]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#array
#array
ADD COMMENT
Topic
COMMENT
Name
3+2 =
Submit