You are viewing a single comment's thread. Return to all comments →
import numpy a=list(map(int,input().split())) l=list() for _ in range(a[0]): l.append((list(map(int,input().split())))) l=numpy.array(l) print(numpy.transpose(l)) print(l.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 →