You are viewing a single comment's thread. Return to all comments →
import numpy n_array = numpy.array(input().split(), int) print(numpy.reshape(n_array, (3, 3)))
Shape and Reshape
You are viewing a single comment's thread. Return to all comments →