You are viewing a single comment's thread. Return to all comments →
import numpy as np
user_list = list(map(int,input().split()))
print(np.reshape(user_list,(3,3)))
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 →
import numpy as np
user_list = list(map(int,input().split()))
print(np.reshape(user_list,(3,3)))