Posted on

Description

Submission

import numpy

n, m = [int(s) for s in input().split()]

arr = list()
for _ in range(n):
    row = [int(s) for s in input().split()]
    arr.append(row)
np_arr = numpy.array(arr)
print(numpy.transpose(np_arr))
print(np_arr.flatten())

Leave a Reply

Your email address will not be published. Required fields are marked *