Concatenate

  • + 0 comments

    import numpy N, M, P = list(map(int, input().split())) out_arr = [] for _ in range(N+M): row = numpy.array(list(map(int, input().split()))[:P]) out_arr.append(row) print(numpy.concatenate([out_arr], axis = 1))