You are viewing a single comment's thread. Return to all comments →
import numpy n1, n2 = map(int, input().split()) l = [] for i in range(n1): l.append(list(map(int, input().split()))) myarr = numpy.array(l) print(numpy.transpose(l)) print(myarr.flatten())
Seems like cookies are disabled on this browser, please enable them to open this website
Transpose and Flatten
You are viewing a single comment's thread. Return to all comments →