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