Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

numpy array input

n, m = map(int, input().split()) # taking number of rows and column
array = numpy.array([input().strip().split() for _ in range(n)], int)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #numpy #array #input
ADD COMMENT
Topic
Name
2+5 =