You are viewing a single comment's thread. Return to all comments →
import numpy as np if __name__ == '__main__': n, m, p = [*map(int, input().rstrip().split())] arr1 = [] arr2 = [] for i in range(n): arr1.append([*map(int, input().rstrip().split())]) for i in range(m): arr2.append([*map(int, input().rstrip().split())]) print(np.concatenate((arr1, arr2), axis=0))
Seems like cookies are disabled on this browser, please enable them to open this website
Concatenate
You are viewing a single comment's thread. Return to all comments →