You are viewing a single comment's thread. Return to all comments →
import numpy arr=[] a=input().split(" ") for i in a: arr.append(int(i)) a1=numpy.array(arr) a1.shape=(3,3) print(a1)
Seems like cookies are disabled on this browser, please enable them to open this website
Shape and Reshape
You are viewing a single comment's thread. Return to all comments →